summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/reaction-picker.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/scripts/reaction-picker.ts')
-rw-r--r--packages/frontend/src/scripts/reaction-picker.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/scripts/reaction-picker.ts b/packages/frontend/src/scripts/reaction-picker.ts
index c142b3ed2a..81f6c02dcf 100644
--- a/packages/frontend/src/scripts/reaction-picker.ts
+++ b/packages/frontend/src/scripts/reaction-picker.ts
@@ -7,7 +7,7 @@ import * as Misskey from 'misskey-js';
import { defineAsyncComponent, ref } from 'vue';
import type { Ref } from 'vue';
import { popup } from '@/os.js';
-import { defaultStore } from '@/store.js';
+import { store } from '@/store.js';
class ReactionPicker {
private src: Ref<HTMLElement | null> = ref(null);
@@ -21,7 +21,7 @@ class ReactionPicker {
}
public async init() {
- const reactionsRef = defaultStore.reactiveState.reactions;
+ const reactionsRef = store.reactiveState.reactions;
await popup(defineAsyncComponent(() => import('@/components/MkEmojiPickerDialog.vue')), {
src: this.src,
pinnedEmojis: reactionsRef,