diff options
| author | Yuval Adam <_@yuv.al> | 2022-09-01 09:31:33 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2022-09-01 09:31:33 +0300 |
| commit | 43fff9d6f8e1b7ba38078804217bb98f6740af99 (patch) | |
| tree | 61d11f08724f710096630aa81f2b43dbd30052e7 /src/Map.tsx | |
| parent | c5af7e2ee2fd84badb60cf2bab8b9fc341e9bdad (diff) | |
Fix default exports
Diffstat (limited to 'src/Map.tsx')
| -rw-r--r-- | src/Map.tsx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Map.tsx b/src/Map.tsx index 62bebb2..7a49416 100644 --- a/src/Map.tsx +++ b/src/Map.tsx @@ -15,7 +15,7 @@ interface MapProps { images: string[], } -function Map({ slider, images }: MapProps) { +export function Map({ slider, images }: MapProps) { const mapContainer = useRef(null); const map = useRef<mapboxgl.Map>(null); const [lng, setLng] = useState(35); @@ -60,7 +60,7 @@ function Map({ slider, images }: MapProps) { }} /> </div> ); - +} // return ( // <Mapbox > // {images.map((img, i) => { @@ -93,6 +93,3 @@ function Map({ slider, images }: MapProps) { // })} // </Mapbox> // ); -} - -export default Map; |
