summaryrefslogtreecommitdiff
path: root/src/Map.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Map.tsx')
-rw-r--r--src/Map.tsx7
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;