diff --git a/src/layout/dock/index.tsx b/src/layout/dock/index.tsx
index 6d6fe2d..290592d 100644
--- a/src/layout/dock/index.tsx
+++ b/src/layout/dock/index.tsx
@@ -33,11 +33,7 @@ export default defineComponent(() => {
{
@@ -58,8 +54,8 @@ export default defineComponent(() => {
style={
current.value >= 0
? {
- transform: `translateY(${current.value === i - 1 || current.value === i + 1 ? '-5%' : current.value === i ? '-10%' : '0'}) scale(${current.value === i - 1 || current.value === i + 1 ? 1.1 : current.value === i ? 1.2 : 1})`
- }
+ transform: `translateY(${current.value === i - 1 || current.value === i + 1 ? '-5%' : current.value === i ? '-10%' : '0'}) scale(${current.value === i - 1 || current.value === i + 1 ? 1.1 : current.value === i ? 1.2 : 1})`
+ }
: {}
}
id={block?.id || ''}
diff --git a/src/layout/grid/Reset.tsx b/src/layout/grid/Reset.tsx
index f2bd9ff..25c5591 100644
--- a/src/layout/grid/Reset.tsx
+++ b/src/layout/grid/Reset.tsx
@@ -1,13 +1,11 @@
import SettingItem from '@/settings/SettingItem'
-import useSettingsStore from '@/settings/useSettingsStore'
-import { Button, Modal, Switch } from 'ant-design-vue'
+import { Button } from 'ant-design-vue'
import clsx from 'clsx'
import { computed, defineComponent, ref } from 'vue'
import useLayoutStore from '../useLayoutStore'
export default defineComponent({
setup() {
- const settings = useSettingsStore()
const open = ref(false)
const layout = useLayoutStore()
const isGame = computed(() => {