diff --git a/packages/client/src/components/common/DockingPanel.vue b/packages/client/src/components/common/DockingPanel.vue
index 3f30857cd..35101c88d 100644
--- a/packages/client/src/components/common/DockingPanel.vue
+++ b/packages/client/src/components/common/DockingPanel.vue
@@ -52,7 +52,7 @@ watch(activeAppRecordId, (id) => {
- {{ isDark.value ? 'Dark' : 'Light' }}
+ {{ isDark ? 'Dark' : 'Light' }}
diff --git a/packages/ui/src/components/DarkToggle.vue b/packages/ui/src/components/DarkToggle.vue
index b50c09f2f..725b9c0b5 100644
--- a/packages/ui/src/components/DarkToggle.vue
+++ b/packages/ui/src/components/DarkToggle.vue
@@ -70,15 +70,10 @@ function toggle(event?: MouseEvent) {
)
})
}
-const context = {
- mode,
- isDark,
- toggle,
-}
-
+
diff --git a/packages/ui/storybook/DarkToggle.story.vue b/packages/ui/storybook/DarkToggle.story.vue
index 2049e2f5b..1cec4b604 100644
--- a/packages/ui/storybook/DarkToggle.story.vue
+++ b/packages/ui/storybook/DarkToggle.story.vue
@@ -24,7 +24,7 @@ const dark = computed({
toggle(e)
}"
>
-
+
@@ -37,7 +37,7 @@ const dark = computed({
toggle(e)
}"
>
-
+