diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-14 19:54:30 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-14 19:54:30 +0900 |
| commit | 2ddedd0ce69a5517df599cb0865b190b4efb6cd6 (patch) | |
| tree | 9049fb57713d80f0da7733833b324df29f9476c4 /packages/frontend/src/components/MkPostForm.vue | |
| parent | Update CHANGELOG.md (diff) | |
| download | sharkey-2ddedd0ce69a5517df599cb0865b190b4efb6cd6.tar.gz sharkey-2ddedd0ce69a5517df599cb0865b190b4efb6cd6.tar.bz2 sharkey-2ddedd0ce69a5517df599cb0865b190b4efb6cd6.zip | |
refactor
Diffstat (limited to 'packages/frontend/src/components/MkPostForm.vue')
| -rw-r--r-- | packages/frontend/src/components/MkPostForm.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index c6958eea77..d57300f647 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -138,6 +138,7 @@ import { emojiPicker } from '@/utility/emoji-picker.js'; import { mfmFunctionPicker } from '@/utility/mfm-function-picker.js'; import { prefer } from '@/preferences.js'; import { getPluginHandlers } from '@/plugin.js'; +import { DI } from '@/di.js'; const $i = signinRequired(); @@ -155,7 +156,7 @@ const props = withDefaults(defineProps<PostFormProps & { initialLocalOnly: undefined, }); -provide('mock', props.mock); +provide(DI.mock, props.mock); const emit = defineEmits<{ (ev: 'posted'): void; |