diff options
Diffstat (limited to 'packages/ui/src/stores/auth-store.ts')
| -rw-r--r-- | packages/ui/src/stores/auth-store.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/ui/src/stores/auth-store.ts b/packages/ui/src/stores/auth-store.ts index bf7e3c5..54f30d3 100644 --- a/packages/ui/src/stores/auth-store.ts +++ b/packages/ui/src/stores/auth-store.ts @@ -123,7 +123,7 @@ export const useAuthStore = create<AuthState>((set, get) => ({ }); } catch (error) { // Keep UI-friendly behavior consistent with prior code - alert("Login failed: " + String(error)); + alert(`Login failed: ${String(error)}`); } }, @@ -234,7 +234,7 @@ export const useAuthStore = create<AuthState>((set, get) => ({ if (errStr.includes("authorization_pending")) { // Still waiting — keep polling } else { - set({ msLoginStatus: "Error: " + errStr }); + set({ msLoginStatus: `Error: ${errStr}` }); if ( errStr.includes("expired_token") || @@ -247,7 +247,7 @@ export const useAuthStore = create<AuthState>((set, get) => ({ authProgressUnlisten(); set({ authProgressUnlisten: null }); } - alert("Login failed: " + errStr); + alert(`Login failed: ${errStr}`); set({ loginMode: "select" }); } } |