diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue index 8a0dd2cf..745adda1 100644 --- a/src/layout/components/Settings/index.vue +++ b/src/layout/components/Settings/index.vue @@ -2,8 +2,6 @@ import { useSettingsStore } from "@/store/modules/settings"; import { usePermissionStore } from "@/store/modules/permission"; import { useAppStore } from "@/store/modules/app"; -import IconEpSunny from "~icons/ep/sunny"; -import IconEpMoon from "~icons/ep/moon"; import { useRoute } from "vue-router"; import defaultSettings from "@/settings"; @@ -13,9 +11,6 @@ const settingsStore = useSettingsStore(); const permissionStore = usePermissionStore(); const appStore = useAppStore(); -const isDark = useDark(); -const toggleDark = () => useToggle(isDark); - function findOutermostParent(tree: any[], findName: string) { let parentMap: any = {}; @@ -97,19 +92,6 @@ onMounted(() => {