-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(synapse-interface): update button states (#2214)
* Add "Swap" button state * Stake button detects insufficient balance based on user input compared to balance * Disable Unstake button when input greater than staked balance * Unstake Button text when input too great * Update check for no lp token balance * Trim trailing zeroes after balances * Trim trailing zeroes off stake pool lp data * Rm unused var * Remove unused imports on Swap page * Add conditions for when Approve button label appears * Actions dropdown positioning * Trim zeroes when updating balance from Portfolio select button * Update Bridge Button State when necessary, reduce state changes when quote loading * Implement same for Swap * Update swap button disabled conditions to prevent flash post-approve * Update default WithdrawButton state * Withdraw Button state * Fix duplicate import
- Loading branch information
1 parent
69b86e5
commit 90df2bf
Showing
7 changed files
with
87 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters