fix(docker):修复构建失败
This commit is contained in:
parent
4a5ad5673d
commit
1878b8242f
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user