Removed id from map update data

This commit is contained in:
Mitchell McCaffrey
2020-10-23 23:35:43 +11:00
parent b91d0e4157
commit 97c436b5e4
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ export function MapDataProvider({ children }) {
}
async function updateMap(id, update) {
console.log("updating", update);
console.log("updating", id, update);
await database.table("maps").update(id, update);
setMaps((prevMaps) => {
const newMaps = [...prevMaps];