Skip to content

Commit 05c3e6f

Browse files
committed
#210 fix stored token type
1 parent d24f457 commit 05c3e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/stores/profile/profile-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {getStoredToken, removeStoredToken, setStoredToken} from "./local-storage
77

88
export const useProfileStore = defineStore("profileStore", {
99
state: () => ({
10-
token: null as string | null,
10+
token: '' as string,
1111
profile: undefined as TProfile | undefined,
1212
}),
1313
getters: {

0 commit comments

Comments
 (0)