From abbd026c1d753f5831192b4c601b24fb98696f42 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 6 Dec 2022 23:38:00 +0000 Subject: [PATCH] fix: avoid fetching null account id --- components/status/StatusReplyingTo.vue | 2 +- composables/cache.ts | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/components/status/StatusReplyingTo.vue b/components/status/StatusReplyingTo.vue index e94cdb2f..39cafbdf 100644 --- a/components/status/StatusReplyingTo.vue +++ b/components/status/StatusReplyingTo.vue @@ -5,7 +5,7 @@ const { status } = defineProps<{ status: Status }>() -const account = useAccountById(status.inReplyToAccountId!) +const account = useAccountById(status.inReplyToAccountId)