Removed console log
This commit is contained in:
parent
297669173a
commit
568a2d6877
@ -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 }));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user