mbeps / next_discussion_platform

Full Stack Website for Forum Discussion Platform using Next.JS and Firebase
https://circus-discussion.vercel.app
MIT License
49 stars 11 forks source link

BUG: User not redirected back to community when creating post #24

Closed mbeps closed 1 year ago

mbeps commented 1 year ago

Describe the bug

When submitting a post with an image, the site redirects the user back to the community page as expected. However, when the user submits a post with no image, the user is not redirected back.

Reproducing the bug**

  1. Create a new post
  2. Add required title and body but no picture.
  3. Click submit.

Expected behavior

After the user clicks submit, they should be redirected to the community page.

Screenshots

Platforms

Desktop (please complete the following information):

Smartphone (please complete the following information):**

Additional context

Severity: