diff --git a/src/renderer/api/utils.ts b/src/renderer/api/utils.ts index 01155e7b3..ae1456a95 100644 --- a/src/renderer/api/utils.ts +++ b/src/renderer/api/utils.ts @@ -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;