mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-22 02:16:39 +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';
|
const AUTH_FAILURE_TOAST_ID = 'auth-failure';
|
||||||
|
|
||||||
export const authenticationFailure = (
|
export const authenticationFailure = (currentServer: null | ServerListItem, message?: string) => {
|
||||||
currentServer: null | ServerListItem,
|
|
||||||
message?: string,
|
|
||||||
) => {
|
|
||||||
const store = useAuthStore.getState();
|
const store = useAuthStore.getState();
|
||||||
const serverId = currentServer?.id ?? store.currentServer?.id;
|
const serverId = currentServer?.id ?? store.currentServer?.id;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user