refactor: add dialogForm dependency to useEffect hook in SVR.JS mod administration page

This commit is contained in:
Dorian Niemiec 2024-09-07 09:15:52 +02:00
parent 7bb89ce202
commit 6f233badaa

View file

@ -87,7 +87,7 @@ const SvrjsModsAdminPage = () => {
});
setDialogOpen(true); // Open dialog when a mod is being edited
}
}, [editMod]);
}, [editMod, dialogForm]);
const fetchMods = async () => {
try {