feat(auth): add accessToken field to the store
This commit is contained in:
1 parent
2afbd73a31
commit
51fc64d8c3
1 file changed
+1
@@ -77,6 +77,7 @@ export const useAuthStore = create<AuthStore>()((set) => ({
|
|||||||
set({
|
set({
|
||||||
status: "unauthenticated",
|
status: "unauthenticated",
|
||||||
user: undefined,
|
user: undefined,
|
||||||
|
accessToken: undefined,
|
||||||
error: null,
|
error: null,
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Reference in new issue
Block a user