You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to make it work using functional component.
Instead of updating the state with an object of only one field as in the handleInputFocus and handleInputChange functions, spread your current state to get all the data and then add the new field.
I am getting this error in functional component.
TypeError: Cannot read properties of undefined (reading 'replace')
Can you look at please this error.
Is there any restriction to use functional or class based component.
The text was updated successfully, but these errors were encountered: