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