Prop not used properly – Reactjs
I´m getting the error that setAnimals is not a function. I controlled every prop but i can´t find the mistake Form code: export default function AddAnimalForm({setAnimals, animals}) { const [submitMessage, setSubmitMessage] = useState(false); const [showDetails, setShowDetails] = useState(false); const {…