diff --git a/components/form/Form.tsx b/components/form/Form.tsx index eb2c9aa..c59d60f 100644 --- a/components/form/Form.tsx +++ b/components/form/Form.tsx @@ -188,7 +188,7 @@ export const Form: React.FC = ({ local.data = res; local.render(); // Panggil render setelah data diperbarui if (typeof afterLoad === "function") { - afterLoad(local); + await afterLoad(local); } setTimeout(() => { toast.dismiss();