Skip to content

Commit

Permalink
fix(app): correct usage of useGraphicsManager
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Oct 8, 2024
1 parent e31aeaf commit 4b507ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/pageElements/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ export default function PlssMap({ color, dispatch, drawerOpen, state }) {
const analytics = useAnalytics();

const isLoading = useViewLoading(mapView.current);
const { graphic, setGraphic } = useGraphicManager(mapView);
const { setGraphic: setUserGraphics } = useGraphicManager(mapView);
const { setGraphic: setGpsGraphic } = useGraphicManager(mapView);
const { setViewPoint } = useViewPointZooming(mapView);
const { graphic, setGraphic } = useGraphicManager(mapView.current);
const { setGraphic: setUserGraphics } = useGraphicManager(mapView.current);
const { setGraphic: setGpsGraphic } = useGraphicManager(mapView.current);
const { setViewPoint } = useViewPointZooming(mapView.current);

const functions = useFunctions();
const myContent = httpsCallable(functions, 'getMyContent');
Expand Down

0 comments on commit 4b507ca

Please sign in to comment.