@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
3 lines (2 loc) • 1.3 kB
JavaScript
import{a as p}from"./chunk-WU6HTRPR.js";import{b as e}from"./chunk-I2NWMXXW.js";import{m as n}from"./chunk-HBP5N4FR.js";n();import r from"react";import o from"classnames";var y=({token:s,noBorder:m,className:a="dapp-ledger-confirm-address"})=>{let{ledgerAccount:d}=p();return r.createElement("div",{className:o(e.mAuto,a)},r.createElement("div",{className:o(e.card,e.my4,e.textCenter,{[e.border0]:m})},r.createElement("div",{className:o(e.cardBody,e.p4,e.mxLg4)},r.createElement("h4",{className:o(e.h4,e.mb4)},"Confirm Ledger Address"),r.createElement("p",null,"For security, please confirm that your address: "),r.createElement("p",{className:o(e.lead,e.border,e.rounded,e.p2)},d?d.address:""),s&&r.createElement(r.Fragment,null,r.createElement("p",null,"and Auth Token"),r.createElement("p",{className:o(e.lead,e.border,e.rounded,e.p2)},`${s}{}`)),r.createElement("p",{className:e.m0},s?"are the one shown on your Ledger device screen now.":"is the one shown on your Ledger device screen now."),r.createElement("p",null,"Select Approve on your device to confirm."),r.createElement("p",null,"Or, if it does not match, close this page and"," ",r.createElement("a",{href:"https://help.elrond.com/en/",target:"_blank"},"contact support"),"."))))};export{y as a};
//# sourceMappingURL=chunk-2WJ53VR7.js.map