refactor: add dialogForm dependency to useEffect hook in SVR.JS mod administration page
This commit is contained in:
parent
7bb89ce202
commit
6f233badaa
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ const SvrjsModsAdminPage = () => {
|
||||||
});
|
});
|
||||||
setDialogOpen(true); // Open dialog when a mod is being edited
|
setDialogOpen(true); // Open dialog when a mod is being edited
|
||||||
}
|
}
|
||||||
}, [editMod]);
|
}, [editMod, dialogForm]);
|
||||||
|
|
||||||
const fetchMods = async () => {
|
const fetchMods = async () => {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue