Fixed question editing

This commit is contained in:
mrfry 2020-11-17 17:20:49 +01:00
parent 3940800ace
commit a0d51266a0

View file

@ -98,9 +98,7 @@ export default function Index(props) {
}) })
data[subjInd].Questions[questionInd] = newVal data[subjInd].Questions[questionInd] = newVal
setData({ setData([...data])
...data,
})
} }
const SendDataToServer = async () => { const SendDataToServer = async () => {