Hello Ibrahima!
github.com/navdeepsingh/react-cont... I got some error like Please help!
You've to replace const saveArticle = ({ article }) => {} with const saveArticle = ( article) => {} or destructuring the values with const saveArticle = ({ title, description }) => {} in context/index.js
const saveArticle = ({ article }) => {}
const saveArticle = ( article) => {}
const saveArticle = ({ title, description }) => {}
context/index.js
Ahh yes, figured out too :) github.com/navdeepsingh/react-cont...
Thanks for reverting back instantly.
Alright, let me check what's wrong and come back later.
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.
Hello Ibrahima!
github.com/navdeepsingh/react-cont... I got some error like
Please help!
You've to replace
const saveArticle = ({ article }) => {}
withconst saveArticle = ( article) => {}
or destructuring the values withconst saveArticle = ({ title, description }) => {}
incontext/index.js
Ahh yes, figured out too :)
github.com/navdeepsingh/react-cont...
Thanks for reverting back instantly.
Alright, let me check what's wrong and come back later.