ImpowerGames / impower

An all-in-one, community-powered indie development platform that gives creative people the tools they need to bring their ideas to life.
https://www.impower.app
2 stars 1 forks source link

Trending page is empty after pitching a game to the "All" catagory #98

Closed Broderick-Colin closed 2 years ago

Broderick-Colin commented 2 years ago

Describe the bug Trending page is empty after pitching a game to the "All" category

Steps To Reproduce

  1. Go to the "All" pitchboard
  2. Click the pitch button and create a game pitch
  3. Post the game pitch
  4. Press back arrow on page view page
  5. Returns to the "All" pitchboard, but the trending page is empty unless you refresh the page

Expected Result Trending page is populated

Desktop (please complete the following information):

Broderick-Colin commented 2 years ago

Also happens if you refresh the page while looking at All

Broderick-Colin commented 2 years ago

Now if you press the back arrow, only the most recent pitch is shown.

Refreshing when on the page with only the most recent pitch returns the blank page.

lovelle-cardoso commented 2 years ago

@LemBurnstein Server side rendering static props was not accounting for "all" type. Should work now.

Broderick-Colin commented 2 years ago

This works as expected now!