customer.name.trim is not a function
TypeError: customer.name.trim is not a function
react js The code I wrote gives this error:
I have a save button that doesn’t work and gives an error like this. If you want, I can send all the codes.I would be happy if you help me.