EmerisHQ / demeris

Emeris web app
https://app.emeris.com/
Apache License 2.0
12 stars 2 forks source link

Airdrop: Upcoming and Live sections of airdrops table displaying even though wallet is not connected #1615

Closed Raymahni closed 2 years ago

Raymahni commented 2 years ago

Describe the bug Upcoming and Live sections of airdrops table displaying even though wallet is not connected. This is an issue because the upcoming and live sections consists of eligible, eligibility unavailable, and not eligible sub sections. These sub sections will only contain airdrops after the eligibility check is done, which happens only after the wallet is connected. See screenshot below: Screenshot 2022-04-20 at 3.40.41 PM.png

To Reproduce

  1. Add feature flag ?VITE_FEATURE_AIRDROPS_FEATURE=1 to url
  2. Go to airdrops page
  3. Make sure wallet is NOT connected
  4. Click on upcoming filter item or live filter item
  5. See sections without any airdrops

Expected behavior The upcoming section should display all upcoming airdrops when wallet is not connected, and display the sub sections when wallet is connected.

The live section should display all live airdrops when wallet is not connected, and display the sub sections when wallet is connected.