mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
refactor(auth): remove localStorage.removeItem('organization')
organization is never set so no need to remove it.
This commit is contained in:
1 file changed
-1
@@ -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