diff --git a/dashboard/src/features/hosts/dialogs/mutation/index.tsx b/dashboard/src/features/hosts/dialogs/mutation/index.tsx index 35ada51..d17b295 100644 --- a/dashboard/src/features/hosts/dialogs/mutation/index.tsx +++ b/dashboard/src/features/hosts/dialogs/mutation/index.tsx @@ -75,7 +75,7 @@ export const HostsMutationDialog: FC = ({ useEffect(() => { if (entity) form.reset(entity); else form.reset(getDefaultValues()); - }, [entity, form]); + }, [entity, form, open]); return (