refactor
This commit is contained in:
parent
c88f5f5195
commit
2ddedd0ce6
9 changed files with 15 additions and 19 deletions
|
|
@ -223,6 +223,7 @@ import { focusPrev, focusNext } from '@/utility/focus.js';
|
|||
import { getAppearNote } from '@/utility/get-appear-note.js';
|
||||
import { prefer } from '@/preferences.js';
|
||||
import { getPluginHandlers } from '@/plugin.js';
|
||||
import { DI } from '@/di.js';
|
||||
|
||||
const props = withDefaults(defineProps<{
|
||||
note: Misskey.entities.Note;
|
||||
|
|
@ -233,7 +234,7 @@ const props = withDefaults(defineProps<{
|
|||
mock: false,
|
||||
});
|
||||
|
||||
provide('mock', props.mock);
|
||||
provide(DI.mock, props.mock);
|
||||
|
||||
const emit = defineEmits<{
|
||||
(ev: 'reaction', emoji: string): void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue