Skip to content

Commit

Permalink
fix: added production as dependancy in use-effect
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Nov 5, 2024
1 parent 2f3a70e commit eda9956
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,12 @@ export default function MultiviewLayoutSettings({
productionId: production._id
});
}
}, [newPresetName, selectedMultiviewPreset, setNewMultiviewPreset]);
}, [
newPresetName,
selectedMultiviewPreset,
setNewMultiviewPreset,
production
]);

useEffect(() => {
if (multiviewLayout) {
Expand Down

0 comments on commit eda9956

Please sign in to comment.