From 8a43465a7b8068d89b9a65c99eefba98dc7bcc04 Mon Sep 17 00:00:00 2001
From: Hazelnoot <acomputerdog@gmail.com>
Date: Tue, 1 Apr 2025 11:38:48 -0400
Subject: fix store in DynamicNote.vue

---
 packages/frontend/src/components/DynamicNote.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'packages/frontend/src/components/DynamicNote.vue')

diff --git a/packages/frontend/src/components/DynamicNote.vue b/packages/frontend/src/components/DynamicNote.vue
index b2133f8836..6ce64d8352 100644
--- a/packages/frontend/src/components/DynamicNote.vue
+++ b/packages/frontend/src/components/DynamicNote.vue
@@ -21,11 +21,11 @@ import { computed, defineAsyncComponent, shallowRef } from 'vue';
 import type { ComponentExposed } from 'vue-component-type-helpers';
 import type MkNote from '@/components/MkNote.vue';
 import type SkNote from '@/components/SkNote.vue';
-import { defaultStore } from '@/store.js';
+import { prefer } from '@/preferences';
 
 const XNote = computed(() =>
 	defineAsyncComponent(() =>
-		defaultStore.reactiveState.noteDesign.value === 'misskey'
+		prefer.r.noteDesign.value === 'misskey'
 			? import('@/components/MkNote.vue')
 			: import('@/components/SkNote.vue'),
 	),
-- 
cgit v1.2.3-freya

