ALwrity + Wix + Wordpress + GSC + Bug Fixes
This commit is contained in:
@@ -40,7 +40,6 @@ export interface UsePersonaPollingReturn {
|
||||
export function usePersonaPolling(options: UsePersonaPollingOptions = {}): UsePersonaPollingReturn {
|
||||
const {
|
||||
interval = 2000, // 2 seconds default
|
||||
maxAttempts = 0, // No timeout - poll until backend says done
|
||||
onProgress,
|
||||
onComplete,
|
||||
onError
|
||||
|
||||
@@ -25,7 +25,6 @@ export function usePolling(
|
||||
): UsePollingReturn {
|
||||
const {
|
||||
interval = 2000, // 2 seconds default
|
||||
maxAttempts = 0, // No timeout - poll until backend says done
|
||||
onProgress,
|
||||
onComplete,
|
||||
onError
|
||||
|
||||
@@ -40,8 +40,6 @@ export const useWixConnection = () => {
|
||||
const tokensRaw = sessionStorage.getItem('wix_tokens');
|
||||
|
||||
if (connectedFlag && tokensRaw) {
|
||||
const tokens = JSON.parse(tokensRaw);
|
||||
|
||||
// Set connected status with site information from tokens
|
||||
setStatus({
|
||||
connected: true,
|
||||
|
||||
Reference in New Issue
Block a user