This is my code in my component named "ExpenseForm.js"
When I try to run it, the error occurs. Please help
CodePudding user response:
You should not have a form inside another form . Lets see your parent component
CodePudding user response:
it is because I have this in my parent component, so "Aymendps" and "Ani" were right that the form should not be wrapped in a form.