Added an indexedb database to store uploaded maps into

This commit is contained in:
Mitchell McCaffrey
2020-04-23 15:02:03 +10:00
parent 8681864ddc
commit 071cd3ea7f
9 changed files with 159 additions and 62 deletions

View File

@@ -14,7 +14,9 @@ function AddMapButton({ onMapChange }) {
}
function handleDone(map) {
onMapChange(map);
if (map) {
onMapChange(map);
}
closeModal();
}