How to fix A component is changing an uncontrolled input to be controlled in React | DevErrors