Removed console log

This commit is contained in:
Mitchell McCaffrey 2020-04-26 17:25:13 +10:00
parent 297669173a
commit 568a2d6877

View File

@ -250,7 +250,6 @@ function SelectMapModal({
} }
async function handleMapStateSettingsChange(key, value) { async function handleMapStateSettingsChange(key, value) {
console.log(value);
await db.table("states").update(selectedMap.id, { [key]: value }); await db.table("states").update(selectedMap.id, { [key]: value });
setSelectedMapState((prevState) => ({ ...prevState, [key]: value })); setSelectedMapState((prevState) => ({ ...prevState, [key]: value }));
} }