alchemix-finance / alchemix-v2-frontend

Repository for v2 UI
https://alchemix.fi
ISC License
12 stars 22 forks source link

[BUG] Opening Alchemix.fi without wallet doesn't display landing page #574

Open hone1er opened 4 months ago

hone1er commented 4 months ago

Contact Details

honeoner@gmail.com

What happened?

Screenshot 2024-04-19 at 3 37 22 PM

Steps to reproduce

  1. Completely close wallet and extensions so it appears as if user has no wallet ( i am using Frame)
  2. Go to alchemix.fi

... Pretty sure the walletChecked var is not being switched to true in this case

Screenshot 2024-04-19 at 3 39 39 PM

suggested fixes:

  1. change logic for walletChecked

or

  1. move <Route path="/" component="{Landing}" /> outside of the if statement

The landing does not have logic that requires a connected wallet so i like option 2

Expected behavior

Expected to see the landing page in full.

PS - The sidebar is also limited in this scenario to just utilities but that is resolved with PR #573

What browser were you using?

Brave

If you selected "Other" above, fill in the browser you used here.

No response