From 16ef9bf3e7cc58c385ac75429eaea3a356a3ab9a Mon Sep 17 00:00:00 2001 From: lyc8503 Date: Sat, 20 Sep 2025 21:33:43 +0800 Subject: [PATCH] fix: always truthy title --- components/MaintenanceAlert.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/MaintenanceAlert.tsx b/components/MaintenanceAlert.tsx index 14c7b5d..5e8d3d7 100644 --- a/components/MaintenanceAlert.tsx +++ b/components/MaintenanceAlert.tsx @@ -29,9 +29,9 @@ export default function MaintenanceAlert({ title={ ( - {maintenance.title} + {maintenance.title || 'Scheduled Maintenance'} - ) || 'Scheduled Maintenance' + ) } color={maintenance.color || 'yellow'} withCloseButton={false}