I´m new to react so I guess I haven\'t understood properly how the use effect and useStates works to prevent this error. I tried already to set the states in the array of us