You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After you submit a new interest to the database and are redirected to /content, you have to manually refresh the page before it will display the new entry. This is happening because, in your POST route for /content, you are redirecting users to the new page before the data has finished inserting into your database:
Can you think of a way to make these operations happen synchronously (one after the other)? :)
The text was updated successfully, but these errors were encountered:
After you submit a new interest to the database and are redirected to /content, you have to manually refresh the page before it will display the new entry. This is happening because, in your POST route for /content, you are redirecting users to the new page before the data has finished inserting into your database:
Can you think of a way to make these operations happen synchronously (one after the other)? :)
The text was updated successfully, but these errors were encountered: