From 1878b8242f16c7b226db3b8eb74158fac8932e2d Mon Sep 17 00:00:00 2001 From: kennethcheng Date: Sun, 3 May 2026 05:56:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(docker):=E4=BF=AE=E5=A4=8D=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/dashboard/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/dashboard/page.tsx b/app/dashboard/page.tsx index 7f8f367..0c56e94 100644 --- a/app/dashboard/page.tsx +++ b/app/dashboard/page.tsx @@ -219,9 +219,9 @@ export default function DashboardPage() { toast.success('交易記錄已刪除'); setDeleteTarget(null); window.location.reload(); - } else if (result.error) { - toast.error(result.error); - } + } else if ((result as any).error) { + toast.error((result as any).error); +} }); }