More fake-indexeddb

This commit is contained in:
Mitchell McCaffrey 2020-10-24 09:13:29 +11:00
parent 2a66d64c15
commit 41ffd15a0c

View File

@ -319,7 +319,8 @@ function NetworkedMapAndTokens({ session }) {
}
if (id === "mapResponse") {
const { id, ...update } = data;
const updatedMap = await updateMap(id, update);
await updateMap(id, update);
const updatedMap = await getMapFromDB(data.id);
setCurrentMap(updatedMap);
}
if (id === "mapState") {