From 6cae9505aed6a2d99d1c5da70a53d22db06163cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Thu, 29 Dec 2022 21:50:11 +0800 Subject: [PATCH] fix(status): optional boolean props --- components/status/StatusReplyingTo.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/status/StatusReplyingTo.vue b/components/status/StatusReplyingTo.vue index 2b6fc03b..5bf9c8c5 100644 --- a/components/status/StatusReplyingTo.vue +++ b/components/status/StatusReplyingTo.vue @@ -3,8 +3,8 @@ import type { Status } from 'masto' const { status, collapsed = false, simplified = false } = defineProps<{ status: Status - collapsed: boolean - simplified: boolean + collapsed?: boolean + simplified?: boolean }>() const isSelf = $computed(() => status.inReplyToAccountId === status.account.id)