Skip to content

Commit

Permalink
fix: show geocode point with attributes open on match
Browse files Browse the repository at this point in the history
this reverts the identify point close removing the identify graphic
  • Loading branch information
steveoh committed Aug 15, 2024
1 parent 6885840 commit e182cc1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,6 @@ export default function App() {
[mapView, placeGraphic, trayState],
);

// remove graphic when identify tray is closed
useEffect(() => {
if (!trayState.isOpen) {
placeGraphic(null);
}
}, [trayState.isOpen, placeGraphic]);

return (
<>
<main className="flex h-screen flex-col md:gap-2">
Expand Down

0 comments on commit e182cc1

Please sign in to comment.