The customhooks.js file is empty?
customhooks.js
Oh, I forgot to add it. I've updated it just now.
Does the error still exist??
No, the error has disappeared and I can see the elements. Now the real problem I'm facing is I cannot render the submitted input values from NewList component into the MyJobList component.
Destructure the props in MyJobList component properly in ({ prop})
const MyJobList = ({inputs}) => ( <div> <h3>{inputs.positionTitle}</h3> <p>{inputs.companyName}</p> <p>{inputs.jobLink}</p> </div> );
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The
customhooks.js
file is empty?Oh, I forgot to add it. I've updated it just now.
Does the error still exist??
No, the error has disappeared and I can see the elements. Now the real problem I'm facing is I cannot render the submitted input values from NewList component into the MyJobList component.
Destructure the props in MyJobList component properly in ({ prop})