Added search and groups to token select, refactored map search and group

This commit is contained in:
Mitchell McCaffrey
2020-10-01 22:32:21 +10:00
parent 0174acbde0
commit f28d1b6690
17 changed files with 614 additions and 366 deletions

View File

@@ -9,7 +9,7 @@ import MapDataContext from "../contexts/MapDataContext";
import { isEmpty } from "../helpers/shared";
function SelectMapModal({ isOpen, onDone, map, mapState }) {
function EditMapModal({ isOpen, onDone, map, mapState }) {
const { updateMap, updateMapState } = useContext(MapDataContext);
function handleClose() {
@@ -102,4 +102,4 @@ function SelectMapModal({ isOpen, onDone, map, mapState }) {
);
}
export default SelectMapModal;
export default EditMapModal;