Skip to content

Commit

Permalink
Merge pull request #124 from NetSepio/vaibhav
Browse files Browse the repository at this point in the history
Scan: Fix build errors; Add .env to .gitignore
  • Loading branch information
vaibhavvvvv authored Sep 3, 2024
2 parents cf2e625 + 8d6ce53 commit 94b0327
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ yarn-error.log*

# local env files
.env*.local
.env

# vercel
.vercel
2 changes: 1 addition & 1 deletion pages/dwifi.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const Dwifi = () => {
</div>
<div ref={mapRef} className="map-page" style={{ height: '100vh' }}>
<div className="map-container" style={{ height: '100%', width: '100%' }}>
<DwifiMap />
<DwifiMap showCurrentLocation={ null } />
</div>
</div>

Expand Down
4 changes: 3 additions & 1 deletion pages/scan.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import React from "react";
import DwifiMap from "../components/DwifiMap";
import dynamic from 'next/dynamic';

const DwifiMap = dynamic(() => import('../components/DwifiMap'), { ssr: false });

const Scan = () => {
return (
Expand Down

0 comments on commit 94b0327

Please sign in to comment.