On the line 9 you are mutating state, you should update state only with setter function
React Re-render Issue While Mapping buttons
On the line 9 you are mutating state, you should update state only with setter function
On the line 9 you are mutating state, you should update state only with setter function