This commit is contained in:
Henry Dollman
2024-07-08 16:24:37 -04:00
parent 89b06d00aa
commit 5e56a74ab5
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ export function Home() {
setSystems((curSystems) => {
const i = curSystems.findIndex((s) => s.id === e.record.id)
if (i > -1) {
const newSystems = [...systems]
const newSystems = [...curSystems]
newSystems[i] = e.record
return newSystems
} else {