Skip to content

Commit

Permalink
nope. It's worse now. Thanks for useless warning react 🙄 🙄 🙄
Browse files Browse the repository at this point in the history
  • Loading branch information
jkafader-esnet committed Mar 25, 2022
1 parent be2cf18 commit 1171110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const Canvas = (props) => {
);
}
};
useEffect(renderLayers, [mapData, params.editPanel]);
useEffect(renderLayers, [mapData]);

return (
<div className="map-panel">
Expand Down

0 comments on commit 1171110

Please sign in to comment.