-
Notifications
You must be signed in to change notification settings - Fork 85
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
refactor useStakerInfo hook #664
Conversation
Visit the preview URL for this PR (updated for commit 8dd743e): https://astar-apps--pr664-refactor-use-staker-2c480b7g.web.app (expires Fri, 20 Jan 2023 07:47:44 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: dd76fe72958fe2910fef9d53f0b4539b82b849db |
please review if this structure is feasible @impelcrypto @bobo-k2 |
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.
LGTM
I've fixed a minor issue in this PR. Please take a look.
Great. I'll continue work on useUnbonding hook |
…re (#662) * feat: made a template structure for dapp-staking v2 * refactor: cleanup * refactor useStakerInfo hook (#664) * add getStakeInfo function in repo * migrate getStake function to v2 * fix: modified fetching 'My staking information' logic when users change the account (#666) Co-authored-by: impelcrypto <92044428+impelcrypto@users.noreply.github.com> * Refactor/unbonding hook (#670) * diminish snowpack & put space on tvl text (#663) * feat:Support for BNC and vDOT assets (#658) * feat:Support for BNC and vDOT assets * Fix some errors * Update BifrostXcmRepository.ts * Add some constants * 0.0.9 * feat: updated japanese translation (#665) * go back logo (#667) * migrate for useUnbonding hook Co-authored-by: NingBo Wang <2536935847@qq.com> Co-authored-by: github-actions <github-actions@users.noreply.github.com> Co-authored-by: impelcrypto <92044428+impelcrypto@users.noreply.github.com> --------- Co-authored-by: Will <korea651@hanmail.net> Co-authored-by: NingBo Wang <2536935847@qq.com> Co-authored-by: github-actions <github-actions@users.noreply.github.com>
Pull Request Summary
refactor useStakerInfo hook with v2 architecture .
related #662
Check list