Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Commit 8b673e5

Browse files
committed
fix lint error on auth ts
1 parent 54f653d commit 8b673e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/web/src/feature/auth/auth.slice.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ const authSlice = createSlice({
3636
localStorage.setItem(AppLocalStorage.ACCESS_TOKEN, accessToken)
3737
},
3838
logout: (state) => {
39-
;(state.user = null), (state.isLoggedIn = false)
39+
state.user = null
40+
state.isLoggedIn = false
4041
localStorage.removeItem(AppLocalStorage.USER)
4142
localStorage.removeItem(AppLocalStorage.ACCESS_TOKEN)
4243
},

0 commit comments

Comments
 (0)