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 7, 2024
1 parent 164c478 commit a46bca2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pages/search/Selector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ const Selector = (props) => {
];

const onChange = (level, tabId) => {
handlers.areaListChange();

if (tabId === "draw-polygon") {
handlers.areaListChange();
handlers.polygonChange();
} else {
handlers.areaListChange();
}
};

Expand Down

0 comments on commit a46bca2

Please sign in to comment.