quiltingcode / happening-react-frontend

A react-based social media platform for sharing events in a small town
https://happening-react.herokuapp.com/
2 stars 1 forks source link

BUG: Mobile popular events only showing two events #51

Open quiltingcode opened 1 year ago

quiltingcode commented 1 year ago

Describe the bug On mobile screens, the popular events component is only displaying 2 events, when it should be showing up to five maximum. The desktop version is showing 4 so technically these should be the same. Not sure why the mobile one isn't showing the same amount although it is set to slice 0 to 5

To Reproduce Steps to reproduce the behavior:

  1. Go to 'homepage'
  2. Reduce screen size with dev tools if on desktop
  3. See popular events container under popular profiles
  4. See error - only two events

Expected behavior Should be maximum 5, at least the same 4 from the desktop version should be showing

Screenshots image

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.