Skip to content

Commit

Permalink
Main Push
Browse files Browse the repository at this point in the history
  • Loading branch information
JackCrawfordRobertson committed Apr 15, 2024
1 parent c2cb717 commit 39f52a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/Home/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const App = () => {
const [ map, setMap ] = useState(null);
const [ isZoomCompleted, setIsZoomCompleted ] = useState(false);
const [ currentGeoJsonIndex, setCurrentGeoJsonIndex ] = useState(0);
const [showZoomFrontLoadScreen, setShowZoomFrontLoadScreen] = useState(true);
const [ showZoomFrontLoadScreen, setShowZoomFrontLoadScreen ] = useState(true);

const cycleSVG = () => {
setCurrentGeoJsonIndex((prevIndex) => (prevIndex + 1) % 3);
Expand Down Expand Up @@ -53,10 +53,10 @@ const App = () => {

{map && <GeoJsonHeatmapOverlay map={map} currentGeoJsonIndex={currentGeoJsonIndex} />}
{map && <WidgetConsolidation map={map} isZoomCompleted={isZoomCompleted} cycleSVG={cycleSVG} />}
<DevZoom onZoom={handleZoom} />
{/* {showZoomFrontLoadScreen && (
{/* <DevZoom onZoom={handleZoom} /> Ensure this component is imported correctly */}
{showZoomFrontLoadScreen && (
<ZoomFrontLoadScreen onZoom={handleZoom} onOtherAction={() => setShowZoomFrontLoadScreen(false)} />
)} */}
)}
</div>
);
};
Expand Down

0 comments on commit 39f52a0

Please sign in to comment.