Now goes back to loc page on edit submit
This commit is contained in:
@@ -141,7 +141,6 @@ export function LocationContainer() {
|
||||
useEffect(() => {
|
||||
// Check if they're not the same
|
||||
if (JSON.stringify(locationsList) !== JSON.stringify(settingsLocations)) {
|
||||
console.log("Updating locations settings", locationsList, settingsLocations);
|
||||
setLocationsSetting.mutate(locationsList);
|
||||
}
|
||||
}, [spoolLocations]);
|
||||
|
||||
Reference in New Issue
Block a user