Added token edit modal, refactored map and token data providers

Refactored image drop code into reusable component as well
This commit is contained in:
Mitchell McCaffrey
2020-05-19 16:21:01 +10:00
parent 1774b459dc
commit 7b98370e4c
17 changed files with 567 additions and 238 deletions

View File

@@ -17,7 +17,7 @@ function MapTiles({
onMapAdd,
onMapRemove,
onMapReset,
onSubmit,
onDone,
}) {
const { databaseStatus } = useContext(DatabaseContext);
return (
@@ -69,7 +69,7 @@ function MapTiles({
onMapSelect={onMapSelect}
onMapRemove={onMapRemove}
onMapReset={onMapReset}
onSubmit={onSubmit}
onDone={onDone}
/>
))}
</Flex>