Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correction Post.jsx {{Removing a Post}} #7

Open
pejantantangguh opened this issue Apr 3, 2019 · 0 comments
Open

Correction Post.jsx {{Removing a Post}} #7

pejantantangguh opened this issue Apr 3, 2019 · 0 comments

Comments

@pejantantangguh
Copy link

pejantantangguh commented Apr 3, 2019

This issue related to Querying & Updating --> Removing a Post on frontend masters video.
Mins 4:05 ish

const Post = ({ title, content, user, createdAt, stars, comments }).
By not passing id to the props, we will encounter error.

It suppose to be
const Post = ({ title, content, user, createdAt, stars, comments, id })

Hopefully it helps.

Thank you,

@pejantantangguh pejantantangguh changed the title Issue on Post.jsx Correction Post.jsx {{Removing a Post}} Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant