diff --git a/apps/connect-v1/src/hooks/useConnectConfig.ts b/apps/connect-v1/src/hooks/useConnectConfig.ts index 186cd2cc2..137dd3c59 100644 --- a/apps/connect-v1/src/hooks/useConnectConfig.ts +++ b/apps/connect-v1/src/hooks/useConnectConfig.ts @@ -79,7 +79,7 @@ export const useConnectConfig = () => { return () => { clearTimeout(timeoutId); // Clear the timeout controller.abort(); - } + }; }, []); return networks ? config : undefined; diff --git a/apps/connect/src/hooks/useConnectConfig.ts b/apps/connect/src/hooks/useConnectConfig.ts index 13498f73e..36748e53c 100644 --- a/apps/connect/src/hooks/useConnectConfig.ts +++ b/apps/connect/src/hooks/useConnectConfig.ts @@ -103,7 +103,7 @@ export const useConnectConfig = () => { return () => { clearTimeout(timeoutId); // Clear the timeout controller.abort(); - } + }; }, []); return networks ? config : undefined;