This commit is contained in:
jeffvli
2026-07-19 00:05:04 -07:00
parent 59d140cf90
commit f8b611fd4c
+1 -4
View File
@@ -9,10 +9,7 @@ const localSettings = isElectron() ? window.api.localSettings : null;
const AUTH_FAILURE_TOAST_ID = 'auth-failure';
export const authenticationFailure = (
currentServer: null | ServerListItem,
message?: string,
) => {
export const authenticationFailure = (currentServer: null | ServerListItem, message?: string) => {
const store = useAuthStore.getState();
const serverId = currentServer?.id ?? store.currentServer?.id;