Fix pinch zoom not working on resources

pull/1971/head
Kamran Ahmed 3 years ago
parent 5881c27526
commit a0a5e74281
  1. 2
      components/roadmap/content-drawer.tsx
  2. 2
      pages/[roadmap]/interactive.tsx

@ -27,7 +27,7 @@ export function ContentDrawer(props: ContentDrawerProps) {
bg="black"
opacity={0.4}
/>
<RemoveScroll>
<RemoveScroll allowPinchZoom>
<Box
p="0px 30px 30px"
position="fixed"

@ -34,7 +34,7 @@ function RoadmapRenderer(props: RoadmapProps) {
console.error(err);
setHasError(true);
});
}, []);
}, [get, roadmap.id]);
// Event bindings for the roadmap interactivity
useEffect(() => {

Loading…
Cancel
Save