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

[GSW-2054] max button amount #607

Merged
merged 3 commits into from
Feb 13, 2025

Conversation

tfrg
Copy link
Collaborator

@tfrg tfrg commented Feb 13, 2025

Description

This PR introduces a new custom hook useTokenBalanceDisplay for consistent token balance formatting across the application, along with comprehensive test coverage.

Details

  • Display format: 2 decimal places for visual representation
  • Input format: 6 decimal places for max button and actual token operations
  • Custom Hook Implementation
  • Edge case coverage

Copy link

vercel bot commented Feb 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gnoswap-interface ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 13, 2025 3:54am

@tfrg tfrg merged commit f51ed88 into GSW-2041-legacy-issue-2 Feb 13, 2025
6 checks passed
@tfrg tfrg deleted the GSW-2054-max-button-amount branch February 13, 2025 06:09
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.

1 participant