This commit is contained in:
syuilo
2025-03-14 19:54:30 +09:00
parent c88f5f5195
commit 2ddedd0ce6
9 changed files with 15 additions and 19 deletions

View File

@@ -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;