diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 9cbd79d75a..faebce637d 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -128,8 +128,6 @@ import { emojiPicker } from '@/scripts/emoji-picker.js'; const modal = inject('modal'); - - const props = withDefaults(defineProps<{ reply?: Misskey.entities.Note; renote?: Misskey.entities.Note; diff --git a/packages/frontend/src/components/MkVisibilityPicker.vue b/packages/frontend/src/components/MkVisibilityPicker.vue index d8afd73214..d37f76942a 100644 --- a/packages/frontend/src/components/MkVisibilityPicker.vue +++ b/packages/frontend/src/components/MkVisibilityPicker.vue @@ -66,7 +66,7 @@ const props = withDefaults(defineProps<{ const emit = defineEmits<{ (ev: 'changeVisibility', v: typeof Misskey.noteVisibilities[number]): void; - (ev: 'changeChannel', v: Channel) : void + (ev: 'changeChannel', v: Misskey.entities.Channel) : void (ev: 'closed'): void; }>();