loading...

re: React Hooks: (0 , _customhooks.default) is not a function VIEW POST

FULL DISCUSSION
 
 

Oh, I forgot to add it. I've updated it just now.

 

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>
);
Code of Conduct Report abuse