fix: eslint-disable for useEffect deps in UsersPage
All checks were successful
CI Pipeline / Rust Format Check (push) Successful in 5s
CI Pipeline / Clippy Lints (push) Successful in 46s
CI Pipeline / Rust Unit Tests (push) Successful in 1m2s
CI Pipeline / Security Audit (push) Successful in 4s
CI Pipeline / Frontend Lint & Type Check (push) Successful in 14s
CI Pipeline / Build .deb & Release (push) Has been skipped
All checks were successful
CI Pipeline / Rust Format Check (push) Successful in 5s
CI Pipeline / Clippy Lints (push) Successful in 46s
CI Pipeline / Rust Unit Tests (push) Successful in 1m2s
CI Pipeline / Security Audit (push) Successful in 4s
CI Pipeline / Frontend Lint & Type Check (push) Successful in 14s
CI Pipeline / Build .deb & Release (push) Has been skipped
This commit is contained in:
@ -35,7 +35,7 @@ export const useAuthStore = create<AuthState>()(
|
||||
restoreSession: async () => {
|
||||
const { refreshToken } = get()
|
||||
if (!refreshToken) {
|
||||
console.log('[auth] No refresh token found, skipping restoration')
|
||||
console.warn('[auth] No refresh token found, skipping restoration')
|
||||
set({ isRestoring: false })
|
||||
return
|
||||
}
|
||||
@ -46,7 +46,7 @@ export const useAuthStore = create<AuthState>()(
|
||||
{ refresh_token: refreshToken },
|
||||
{ timeout: 10000 }
|
||||
)
|
||||
console.log('[auth] Token refresh successful')
|
||||
console.warn('[auth] Token refresh successful')
|
||||
set({
|
||||
accessToken: data.access_token,
|
||||
refreshToken: data.refresh_token,
|
||||
|
||||
Reference in New Issue
Block a user