Added loader state change to ensure that folder (#542)

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2021-01-05 17:05:25 -06:00
committed by GitHub
parent c98d5c06d0
commit 5b98bb8fd6
2 changed files with 110 additions and 106 deletions

File diff suppressed because one or more lines are too long

View File

@@ -221,6 +221,10 @@ const ListObjects = ({
}
}, [match, routesList, setAllRoutes]);
useEffect(() => {
setLoading(true);
}, [routesList, setLoading]);
const closeDeleteModalAndRefresh = (refresh: boolean) => {
setDeleteOpen(false);