This commit is contained in:
ThinaticSystem
2022-09-12 01:07:22 +09:00
committed by sim1222
parent 18f778a335
commit 070d91e16e
2 changed files with 4 additions and 4 deletions

View File

@ -51,8 +51,8 @@ const emit = defineEmits<{
const modal = ref<InstanceType<typeof MkModal>>();
const picker = ref<InstanceType<typeof MkEmojiPicker>>();
function chosen(emoji: any, withRenote: boolean) {
emit('done', { reaction: emoji, withRenote: withRenote });
function chosen(results: { reaction: string, withRenote: boolean }) {
emit('done', results);
modal.value?.close();
}