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