mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-12 03:37:13 -04:00
Linting refactor (#957)
This commit is contained in:
committed by
Leendert de Borst
parent
b16fd8e157
commit
2fc7ffa509
@@ -97,7 +97,6 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ children
|
||||
}
|
||||
|
||||
setUsername(null);
|
||||
console.log('setting isLoggedIn to false');
|
||||
setIsLoggedIn(false);
|
||||
}, [dbContext]);
|
||||
|
||||
|
||||
@@ -66,7 +66,6 @@ export const useVaultSync = () : {
|
||||
|
||||
// Check app status and vault revision
|
||||
onStatus?.('Checking vault updates');
|
||||
console.log('Checking vault updates');
|
||||
const statusResponse = await withMinimumDelay(() => webApi.getStatus(), 300, enableDelay);
|
||||
|
||||
// Check if server is actually available, 0.0.0 indicates connection error which triggers offline mode.
|
||||
|
||||
@@ -14,7 +14,6 @@ import { PopoutUtility } from '@/entrypoints/popup/utils/PopoutUtility';
|
||||
import { AppInfo } from '@/utils/AppInfo';
|
||||
import { DISABLED_SITES_KEY, GLOBAL_AUTOFILL_POPUP_ENABLED_KEY, GLOBAL_CONTEXT_MENU_ENABLED_KEY, TEMPORARY_DISABLED_SITES_KEY } from '@/utils/Constants';
|
||||
|
||||
|
||||
import { storage, browser } from "#imports";
|
||||
|
||||
/**
|
||||
|
||||
@@ -70,7 +70,7 @@ const Upgrade: React.FC = () => {
|
||||
console.error('Failed to load version information:', error);
|
||||
setError('Failed to load version information. Please try again.');
|
||||
}
|
||||
}, [sqliteClient]);
|
||||
}, [sqliteClient, setIsInitialLoading]);
|
||||
|
||||
useEffect(() => {
|
||||
loadVersionInfo();
|
||||
|
||||
Reference in New Issue
Block a user