-
Notifications
You must be signed in to change notification settings - Fork 94
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
Ledger support for unbond and withdraw #1158
Conversation
Visit the preview URL for this PR (updated for commit 9911966): https://astar-apps--pr1158-feat-staking-v3-ledg-k45yelgl.web.app (expires Thu, 08 Feb 2024 14:32:52 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: dd76fe72958fe2910fef9d53f0b4539b82b849db |
Hi @bobo-k2 for the UI message
How about message below (took same sentence from the docs) : |
Co-authored-by: impelcrypto <[email protected]>
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, please check my comments
src/hooks/useAccount.ts
Outdated
eventAggregator.publish( | ||
new ExtrinsicStatusMessage({ | ||
success: false, | ||
message: 'Ledger is not supported on this network.', |
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.
Let's use i18 here
{{ $t('dappStaking.migrationSupport.yourTokensAreLocked') }} | ||
{{ $t('stakingV3.migrationSupport.yourTokensAreLocked') }} | ||
(<a | ||
href="https://docs.astar.network/docs/learn/dapp-staking/dapp-staking-faq/#q-i-am-a-leger-astar-native-app-user-what-do-i-need-to-do" |
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.
Let's import the url from docsUrl
at src/links.index
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!
…rk/astar-apps into feat/staking-v3-ledger-native
Thanks, a lot. The first think you commented was bug. I am not sure why I made that change. Fixed in d6711a6 |
Pull Request Summary
Support for ledged users to unbond and withdraw their tokens. @Kahonnohak please update text.
Warning for Ledger native users
Check list