-
Notifications
You must be signed in to change notification settings - Fork 4
fix: disable button when user has insufficient native balance #80
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
d94be62
fix: disable button when user has insufficient native balance
ShubhamParkhi 84605c6
fix(web): deposit payment button
ShubhamParkhi 1a8d66e
fix: style error message
ShubhamParkhi 2e8d91f
fix: styling for error message
ShubhamParkhi 3898aeb
fix: few crashes bug fixes
kemuru f62a9eb
fix: style font size smaller, optimize variable calculations
kemuru 22dec65
fix(web): Disable hooks when insufficient balance
ShubhamParkhi edf59af
fix(web): fix ternary operator
ShubhamParkhi 9cf69fe
fix(web): fix insufficient balance check
ShubhamParkhi b1fee53
refactor(web): useReadContract hook from wagmi
ShubhamParkhi 445b94c
fix(web): use loading and error states from hook
ShubhamParkhi 2ee9148
fix(web): useReadContract from wagmi
ShubhamParkhi d603393
fix(web): use correct hooks for balance fetching
ShubhamParkhi 7278c84
fix(web): fix raise dispute button
ShubhamParkhi 54c1899
fix(web): better calculation for insufficient balance
ShubhamParkhi 2159c83
fix: extra insufficient balance condition so the buttons gives feedba…
kemuru fed59d2
fix(web): fix token selector
ShubhamParkhi 046b996
fix(web): Balance fetching
ShubhamParkhi 1fe0f55
fix(web): cleaner code
ShubhamParkhi 6271ea6
fix: nitpick
ShubhamParkhi 964eac7
feat: add enable conditions to the usebalance and usereadcontract hooks
kemuru a911019
fix(web): nitpick
ShubhamParkhi caa750e
fix(web): nitpick
ShubhamParkhi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.