fix(docker):修复构建失败

This commit is contained in:
kennethcheng 2026-05-03 05:56:23 +08:00
parent 4a5ad5673d
commit 1878b8242f

View File

@ -219,9 +219,9 @@ export default function DashboardPage() {
toast.success('交易記錄已刪除'); toast.success('交易記錄已刪除');
setDeleteTarget(null); setDeleteTarget(null);
window.location.reload(); window.location.reload();
} else if (result.error) { } else if ((result as any).error) {
toast.error(result.error); toast.error((result as any).error);
} }
}); });
} }