mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-21 18:06:30 +02:00
fix lint
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user