Skip to content

Commit

Permalink
correcting the prop name for the map reference
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed May 8, 2024
1 parent 57a741f commit f79a860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/map/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const Map = () => {
zoom={5}
zoomControl={false}
scrollWheelZoom={true}
whenCreated={setMap}
ref={setMap}
style={{ height: '100vh', width:'100wh' }}>
{ darkMode.enabled
? <TileLayer url={ `https://api.mapbox.com/styles/v1/mvvatson/clvu3inqs05v901qlabcfhxsr/tiles/256/{z}/{x}/{y}@2x?access_token=${ process.env.REACT_APP_MAPBOX_TOKEN }` } />
Expand Down

0 comments on commit f79a860

Please sign in to comment.