Skip to content

Commit

Permalink
Merge pull request #140 from galacticcouncil/remove-ledger-warning-2
Browse files Browse the repository at this point in the history
Remove Ledger warning completely
  • Loading branch information
nohaapav authored Aug 1, 2024
2 parents 24a7944 + 20317e2 commit 0a5d616
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions packages/apps/src/app/xcm/Form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,6 @@ export class XcmForm extends LitElement {
warning: true,
show: account && isValidAddr && !isSameAddr,
};
const ledgerWarnClasses = {
warning: true,
show:
(this.srcChain.key === 'polkadot' ||
this.srcChain.key === 'assethub') &&
this.destChain.key !== 'hydradx',
};
return html`
<slot name="header"></slot>
<div class="transfer">
Expand Down Expand Up @@ -320,10 +313,6 @@ export class XcmForm extends LitElement {
<uigc-icon-warning></uigc-icon-warning>
<span>${i18n.t('warning.cex')}</span>
</div>
<div class=${classMap(ledgerWarnClasses)}>
<uigc-icon-warning></uigc-icon-warning>
<span>${i18n.t('warning.ledger')}</span>
</div>
<div class=${classMap(errWarnClasses)}>
<uigc-icon-error></uigc-icon-error>
<div class="errors">
Expand Down
1 change: 0 additions & 1 deletion packages/apps/src/app/xcm/translation.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"error.transfer.ed": "You need to have <1>{{amount}} {{symbol}}</1> on <1>{{chain}}</1> for existential deposit",

"warning.cex": "Transferring assets to CEX through XCM directly will result in loss of funds. Please send them to your address on the relevant network first.",
"warning.ledger": "If using a Ledger hardware wallet, please transfer funds to a hot wallet before sending to Hydration network.",

"notify.processing": "Sending <1>{{amount}} {{asset}}</1> from <1>{{srcChain}}</1> to <1>{{destChain}}</1> submitted",
"notify.success": "Sent <1>{{amount}} {{asset}}</1> from <1>{{srcChain}}</1> to <1>{{destChain}}</1>",
Expand Down

0 comments on commit 0a5d616

Please sign in to comment.