-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mega menu - fixing click area #481
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gut :)
const available = computed<Currency[]>(() => { | ||
const list: Currency[] = [networkInfo.value.elCurrency] | ||
watch(latestState, () => { | ||
let list: Currency[] = [networkInfo.value.elCurrency] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the future, when the user switches between networks, the list of available currencies might stay outdated for a few seconds until the rates changes.
I am thinking about a switch between Gnosis (GNO + xDAI) and Ethereum (where these currencies might not be listed) for example.
A possible fix would be on line 31:
watch([latestState,networkInfo], () => {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense - changed!
Deploying beaconchain with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
This PR: