Skip to content

Commit

Permalink
move areaListChange function
Browse files Browse the repository at this point in the history
  • Loading branch information
hacheG committed Feb 9, 2024
1 parent 405dca4 commit 7dda05e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/search/Selector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ const Selector = (props) => {
];

const onChange = (level, tabId) => {
handlers.areaListChange();
if (tabId === 'draw-polygon') {
handlers.polygonChange();
} else {
handlers.areaListChange();
}
};

Expand Down

0 comments on commit 7dda05e

Please sign in to comment.