From 397cbb34b327a0addfdf8e36f859b456956b66fe Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Sun, 29 Mar 2026 01:19:25 +0800 Subject: fix(lint): apply ui code lint --- packages/ui/src/models/auth.ts | 5 ++++- packages/ui/src/models/instance.ts | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'packages/ui/src/models') 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((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; duplicate: (id: string, newName: string) => Promise; exportArchive: (id: string, archivePath: string) => Promise; - importArchive: (archivePath: string, newName?: string) => Promise; + importArchive: ( + archivePath: string, + newName?: string, + ) => Promise; repair: () => Promise; get: (id: string) => Promise; } -- cgit v1.2.3-70-g09d2