From 51c4e06e59606234512d358c1fa5f265c1b0166a Mon Sep 17 00:00:00 2001 From: MaysWind Date: Tue, 28 Jan 2025 00:17:42 +0800 Subject: [PATCH] code refactor --- src/stores/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/stores/index.ts b/src/stores/index.ts index 3dd7eaab..dc7459b1 100644 --- a/src/stores/index.ts +++ b/src/stores/index.ts @@ -26,6 +26,10 @@ import type { import type { LocalizedPresetCategory } from '@/core/category.ts'; import type { ForgetPasswordRequest } from '@/models/forget_password.ts'; +import { + isObject, + isString +} from '@/lib/common.ts'; import { hasUserAppLockState, getUserAppLockState, @@ -36,7 +40,6 @@ import { } from '@/lib/userstate.ts'; import services, { type ApiResponsePromise } from '@/lib/services.ts'; import logger from '@/lib/logger.ts'; -import { isObject, isString } from '@/lib/common.ts'; export const useRootStore = defineStore('root', () => { const settingsStore = useSettingsStore();