mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
refactor(auth): remove localStorage.removeItem('organization')
organization is never set so no need to remove it.
This commit is contained in:
@@ -47,7 +47,6 @@ export const load: LayoutLoad = async ({ params, depends }) => {
|
||||
const prefs = await sdk.forConsole.account.getPrefs();
|
||||
const newPrefs = { ...prefs, organization: null };
|
||||
sdk.forConsole.account.updatePrefs(newPrefs);
|
||||
localStorage.removeItem('organization');
|
||||
error(e.code, e.message);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user