From 6e8cb833aa0aea1e19ea4e12cfe65f5a0bcbd94f Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Sat, 25 Apr 2020 00:42:23 +1000 Subject: [PATCH] Moved map tiles to simple scroll --- src/components/map/MapTiles.js | 93 +++++++++++++++++----------------- 1 file changed, 46 insertions(+), 47 deletions(-) diff --git a/src/components/map/MapTiles.js b/src/components/map/MapTiles.js index d07fa1a..bc2dc7a 100644 --- a/src/components/map/MapTiles.js +++ b/src/components/map/MapTiles.js @@ -1,5 +1,6 @@ import React from "react"; import { Flex } from "theme-ui"; +import SimpleBar from "simplebar-react"; import AddIcon from "../../icons/AddIcon"; @@ -15,57 +16,55 @@ function MapTiles({ onSubmit, }) { return ( - + - + + + + {maps.map((map) => ( + + ))} - {maps.map((map) => ( - - ))} - + ); }