Closed Sas-Areku closed 1 year ago
Instead of setting state with the state itself, copy the state object/array, modify it, then set state using the new modified object/array.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Instead of setting state with the state itself, copy the state object/array, modify it, then set state using the new modified object/array.