diff options
| author | 2026-03-29 01:19:25 +0800 | |
|---|---|---|
| committer | 2026-03-29 01:19:25 +0800 | |
| commit | 397cbb34b327a0addfdf8e36f859b456956b66fe (patch) | |
| tree | 81d5c51437ddcbe49cc8023151956cba7b909da8 /packages/ui/src/models | |
| parent | e16320b34fa2dbb75e19142f7e8e31ecd41a512c (diff) | |
| download | DropOut-397cbb34b327a0addfdf8e36f859b456956b66fe.tar.gz DropOut-397cbb34b327a0addfdf8e36f859b456956b66fe.zip | |
fix(lint): apply ui code lint
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>; } |