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: Going to all communities page shows previous community icon on menu #64

Closed mbeps closed 1 year ago

mbeps commented 1 year ago

Describe the bug

When going to all communities page /communities from a selected the community, the icon for the community menu directory would not change.

Reproducing the bug**

  1. Go to any community
  2. While in the community page, open the community menu and select "View All Communities"

Expected behavior

When navigating to the communities page, the icon should change to the home one. Additionally, a new icon specifically for the communities page could be implemented.

Screenshots

Screen Shot 2023-03-21 at 13 10 12

Platforms

Desktop (please complete the following information):

Smartphone (please complete the following information):**

Additional context

Severity:

mbeps commented 1 year ago

It is possible that the Recoil state is not being updated when changing the pages. When the View All Communities button is pressed, the state should be set to the default (home) or a new state could be created just for the communities page.