Skip to content

Commit

Permalink
added fix for wrong reference to viewstate
Browse files Browse the repository at this point in the history
  • Loading branch information
lstillwe committed Mar 6, 2024
1 parent 3a8c03f commit 7deed35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/custom-ui/components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const Layout = (props) => {
if (test == false) {
setStormLayers([...stormLayers, item.uniqueId])
// setStormLayers2([...stormLayers2, item])
addStormLayers(viewState, item);
addStormLayers(props.viewState, item);
}
}
});
Expand Down

0 comments on commit 7deed35

Please sign in to comment.