diff options
Diffstat (limited to 'packages/ui/src/models')
| -rw-r--r-- | packages/ui/src/models/auth.ts | 5 | ||||
| -rw-r--r-- | packages/ui/src/models/instance.ts | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/packages/ui/src/models/auth.ts b/packages/ui/src/models/auth.ts index 9c814d2..d64b67a 100644 --- a/packages/ui/src/models/auth.ts +++ b/packages/ui/src/models/auth.ts @@ -95,7 +95,10 @@ export const useAuthStore = create<AuthState>((set, get) => ({ } catch (error) { const message = getAuthErrorMessage(error); console.error("Failed to start Microsoft login:", error); - set({ loginMode: null, statusMessage: `Failed to start login: ${message}` }); + set({ + loginMode: null, + statusMessage: `Failed to start login: ${message}`, + }); toast.error(`Failed to start Microsoft login: ${message}`); } }, diff --git a/packages/ui/src/models/instance.ts b/packages/ui/src/models/instance.ts index e1eb7c1..2f338b5 100644 --- a/packages/ui/src/models/instance.ts +++ b/packages/ui/src/models/instance.ts @@ -26,7 +26,10 @@ interface InstanceState { setActiveInstance: (instance: Instance) => Promise<void>; duplicate: (id: string, newName: string) => Promise<Instance | null>; exportArchive: (id: string, archivePath: string) => Promise<void>; - importArchive: (archivePath: string, newName?: string) => Promise<Instance | null>; + importArchive: ( + archivePath: string, + newName?: string, + ) => Promise<Instance | null>; repair: () => Promise<void>; get: (id: string) => Promise<Instance | null>; } |