Skip to content
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

Fix "Your Wallet" page #480

Merged

Conversation

truemiller
Copy link
Collaborator

Proposed changes

Update page that displays your wallet balances to use new hooks .etc

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

frontend/components/YourWalletPage/index.tsx Outdated Show resolved Hide resolved
const { masterEoa } = useMasterWalletContext();
const { walletBalances } = useBalanceContext();

const masterEoaBalance: Optional<number> = useMemo(() => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here as well, can use useMasterBalances? and why not if not

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Balances and wallets require extra attention to fully understand 🙈

@truemiller truemiller merged commit 39ec47f into refactor/multi-chain-support-frontend Nov 22, 2024
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants