From 2177792a3c34d0e86bccb894c6d89dc1e1e3e8db Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 5 Jan 2024 12:52:24 +0900 Subject: [PATCH] refactor(frontend): reduce type errors --- packages/frontend/src/components/MkTimeline.vue | 16 ++++++++++------ .../src/components/MkTokenGenerateWindow.vue | 4 ++-- packages/frontend/src/components/MkTooltip.vue | 3 ++- packages/frontend/src/components/MkUpdated.vue | 10 +++++----- 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/packages/frontend/src/components/MkTimeline.vue b/packages/frontend/src/components/MkTimeline.vue index 23afb922f3..d5adc02ca7 100644 --- a/packages/frontend/src/components/MkTimeline.vue +++ b/packages/frontend/src/components/MkTimeline.vue @@ -11,13 +11,13 @@ SPDX-License-Identifier: AGPL-3.0-only :pagination="paginationQuery" :noGap="!defaultStore.state.showGapBetweenNotesInTimeline" @queue="emit('queue', $event)" - @status="prComponent.setDisabled($event)" + @status="prComponent?.setDisabled($event)" />