Skip to content

Commit 9176587

Browse files
authored
Changed useEffect return value from 'false' to 'undefined' (#6391)
1 parent b1fd67f commit 9176587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/js/components/context-menu/context-menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function RightClickMenu(props) {
7979
};
8080

8181
useEffect(() => {
82-
if (isCoordinateSearchActive) return false;
82+
if (isCoordinateSearchActive) return undefined;
8383
events.on(MAP_SINGLE_CLICK, handleClick);
8484
events.on(MAP_CONTEXT_MENU, handleContextEvent);
8585
return () => {

0 commit comments

Comments
 (0)