Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update NavigationContext.tsx (#1274)

Leendert de Borst717894c21c03
diff --git a/apps/browser-extension/src/entrypoints/popup/context/NavigationContext.tsx b/apps/browser-extension/src/entrypoints/popup/context/NavigationContext.tsx
index 27f881bcd..ddc91ad45 100644
--- a/apps/browser-extension/src/entrypoints/popup/context/NavigationContext.tsx
+++ b/apps/browser-extension/src/entrypoints/popup/context/NavigationContext.tsx
@@ -88,7 +88,8 @@ export const NavigationProvider: React.FC<{ children: React.ReactNode }> = ({ ch
if (isFullyInitialized && !isLoggedIn) {
navigate('/login', { replace: true });
}
- }, [isFullyInitialized, isLoggedIn, navigate]);
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [isFullyInitialized, isLoggedIn]);
// Return the context value
const contextValue = useMemo(() => ({