Pythonidaer / reddie

React app for saving and retrieving Reddit comments.
0 stars 1 forks source link

Save does not work the first time it is clicked #3

Closed Pythonidaer closed 1 year ago

Pythonidaer commented 1 year ago

The first time you go to save a Comment, you get this error:

"One of these were not provided: subreddit: undefined, author: undefined, awards_count: undefined, link: undefined, upvotes: undefined."

The second time you click it, it works fine.

I believe there is an order of operations issue happening here, so of course fixing this would result in a better UX/UI because who is going to know that this works fine the second time.