Added an indexedb database to store uploaded maps into
This commit is contained in:
@@ -14,7 +14,9 @@ function AddMapButton({ onMapChange }) {
|
||||
}
|
||||
|
||||
function handleDone(map) {
|
||||
onMapChange(map);
|
||||
if (map) {
|
||||
onMapChange(map);
|
||||
}
|
||||
closeModal();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user