We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e4e17a commit c57f88aCopy full SHA for c57f88a
src/store/modules/auth/index.ts
@@ -13,6 +13,7 @@ import { clearAuthStorage, getToken } from './shared';
13
14
export const useAuthStore = defineStore(SetupStoreId.Auth, () => {
15
const route = useRoute();
16
+ const authStore = useAuthStore();
17
const routeStore = useRouteStore();
18
const tabStore = useTabStore();
19
const { toLogin, redirectFromLogin } = useRouterPush(false);
@@ -39,8 +40,6 @@ export const useAuthStore = defineStore(SetupStoreId.Auth, () => {
39
40
41
/** Reset auth store */
42
async function resetStore() {
- const authStore = useAuthStore();
43
-
44
recordUserId();
45
46
clearAuthStorage();
0 commit comments