Differential D9215 Diff 27669 web/cashtab/src/components/Configure/__tests__/__snapshots__/Configure.test.js.snap
Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/components/Configure/__tests__/__snapshots__/Configure.test.js.snap
Show All 32 Lines | > | ||||
</svg> | </svg> | ||||
</span> | </span> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div | <div | ||||
className="ant-spin-container ant-spin-blur" | className="ant-spin-container ant-spin-blur" | ||||
> | > | ||||
<div | <div | ||||
className="sc-dnqmqq cRbxeB" | className="sc-iwsKbI gJfDsi" | ||||
> | > | ||||
<h2> | <h2> | ||||
<span | <span | ||||
aria-label="copy" | aria-label="copy" | ||||
className="anticon anticon-copy" | className="anticon anticon-copy" | ||||
role="img" | role="img" | ||||
> | > | ||||
<svg | <svg | ||||
aria-hidden="true" | aria-hidden="true" | ||||
data-icon="copy" | data-icon="copy" | ||||
fill="currentColor" | fill="currentColor" | ||||
focusable="false" | focusable="false" | ||||
height="1em" | height="1em" | ||||
viewBox="64 64 896 896" | viewBox="64 64 896 896" | ||||
width="1em" | width="1em" | ||||
> | > | ||||
<path | <path | ||||
d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" | d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" | ||||
/> | /> | ||||
</svg> | </svg> | ||||
</span> | </span> | ||||
Seed Phrase | Back up your wallet | ||||
</h2> | </h2> | ||||
<p> | <div | ||||
Your seed phrase can be used to restore your wallet in case the original instance of it is destroyed. We highly recommend always making a copy of your seed phrase and keeping it somewhere safe. | className="ant-alert ant-alert-warning ant-alert-with-description" | ||||
</p> | data-show={true} | ||||
role="alert" | |||||
style={ | |||||
Object { | |||||
"marginBottom": "12px", | |||||
} | |||||
} | |||||
> | |||||
<span | |||||
aria-label="exclamation-circle" | |||||
className="anticon anticon-exclamation-circle ant-alert-icon" | |||||
role="img" | |||||
> | |||||
<svg | |||||
aria-hidden="true" | |||||
data-icon="exclamation-circle" | |||||
fill="currentColor" | |||||
focusable="false" | |||||
height="1em" | |||||
viewBox="64 64 896 896" | |||||
width="1em" | |||||
> | |||||
<path | |||||
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" | |||||
/> | |||||
<path | |||||
d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" | |||||
/> | |||||
</svg> | |||||
</span> | |||||
<div | |||||
className="ant-alert-content" | |||||
> | |||||
<div | |||||
className="ant-alert-message" | |||||
/> | |||||
<div | |||||
className="ant-alert-description" | |||||
> | |||||
Your seed phrase is the only way to restore your wallet. Write it down. Keep it safe. | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div | <div | ||||
className="ant-collapse ant-collapse-icon-position-left sc-bdVaJa jkIKTL" | className="ant-collapse ant-collapse-icon-position-left sc-bdVaJa jkIKTL" | ||||
role={null} | role={null} | ||||
> | > | ||||
<div | <div | ||||
className="ant-collapse-item" | className="ant-collapse-item" | ||||
> | > | ||||
<div | <div | ||||
Show All 23 Lines | > | ||||
/> | /> | ||||
</svg> | </svg> | ||||
</span> | </span> | ||||
Click to reveal seed phrase | Click to reveal seed phrase | ||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div | <div | ||||
className="sc-iwsKbI eaSyhG" | className="sc-gZMcBi juyJFl" | ||||
/> | /> | ||||
<h2> | |||||
<span | |||||
aria-label="wallet" | |||||
className="anticon anticon-wallet" | |||||
role="img" | |||||
> | |||||
<svg | |||||
aria-hidden="true" | |||||
data-icon="wallet" | |||||
fill="currentColor" | |||||
focusable="false" | |||||
height="1em" | |||||
viewBox="64 64 896 896" | |||||
width="1em" | |||||
> | |||||
<path | |||||
d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0 264H184V184h656v200H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200zM580 512a40 40 0 1080 0 40 40 0 10-80 0z" | |||||
/> | |||||
</svg> | |||||
</span> | |||||
Manage Wallets | |||||
</h2> | |||||
<button | <button | ||||
className="sc-bwzfXH crkPeR" | className="sc-bwzfXH crkPeR" | ||||
onClick={[Function]} | onClick={[Function]} | ||||
> | > | ||||
<span | <span | ||||
aria-label="plus-square" | aria-label="plus-square" | ||||
className="anticon anticon-plus-square" | className="anticon anticon-plus-square" | ||||
role="img" | role="img" | ||||
Show All 37 Lines | > | ||||
> | > | ||||
<path | <path | ||||
d="M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zM902 476H588v-76c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-76h314c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" | d="M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zM902 476H588v-76c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-76h314c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" | ||||
/> | /> | ||||
</svg> | </svg> | ||||
</span> | </span> | ||||
Import Wallet | Import Wallet | ||||
</button> | </button> | ||||
<div | |||||
className="sc-gZMcBi juyJFl" | |||||
/> | |||||
[ | |||||
<a | |||||
className="sc-EHOje chPufo" | |||||
href="https://docs.cashtabapp.com/" | |||||
rel="noreferrer" | |||||
target="_blank" | |||||
type="link" | |||||
> | |||||
Documentation | |||||
</a> | |||||
] | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
`; | `; | ||||
exports[`Configure without a wallet 1`] = ` | exports[`Configure without a wallet 1`] = ` | ||||
<div | <div | ||||
className="ant-spin-nested-loading" | className="ant-spin-nested-loading" | ||||
Show All 27 Lines | > | ||||
</svg> | </svg> | ||||
</span> | </span> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div | <div | ||||
className="ant-spin-container ant-spin-blur" | className="ant-spin-container ant-spin-blur" | ||||
> | > | ||||
<div | <div | ||||
className="sc-dnqmqq cRbxeB" | className="sc-iwsKbI gJfDsi" | ||||
> | > | ||||
<h2> | <h2> | ||||
<span | <span | ||||
aria-label="copy" | aria-label="copy" | ||||
className="anticon anticon-copy" | className="anticon anticon-copy" | ||||
role="img" | role="img" | ||||
> | > | ||||
<svg | <svg | ||||
aria-hidden="true" | aria-hidden="true" | ||||
data-icon="copy" | data-icon="copy" | ||||
fill="currentColor" | fill="currentColor" | ||||
focusable="false" | focusable="false" | ||||
height="1em" | height="1em" | ||||
viewBox="64 64 896 896" | viewBox="64 64 896 896" | ||||
width="1em" | width="1em" | ||||
> | > | ||||
<path | <path | ||||
d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" | d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" | ||||
/> | /> | ||||
</svg> | </svg> | ||||
</span> | </span> | ||||
Seed Phrase | Back up your wallet | ||||
</h2> | </h2> | ||||
<p> | |||||
Your seed phrase can be used to restore your wallet in case the original instance of it is destroyed. We highly recommend always making a copy of your seed phrase and keeping it somewhere safe. | |||||
</p> | |||||
<div | <div | ||||
className="sc-iwsKbI eaSyhG" | className="ant-alert ant-alert-warning ant-alert-with-description" | ||||
data-show={true} | |||||
role="alert" | |||||
style={ | |||||
Object { | |||||
"marginBottom": "12px", | |||||
} | |||||
} | |||||
> | |||||
<span | |||||
aria-label="exclamation-circle" | |||||
className="anticon anticon-exclamation-circle ant-alert-icon" | |||||
role="img" | |||||
> | |||||
<svg | |||||
aria-hidden="true" | |||||
data-icon="exclamation-circle" | |||||
fill="currentColor" | |||||
focusable="false" | |||||
height="1em" | |||||
viewBox="64 64 896 896" | |||||
width="1em" | |||||
> | |||||
<path | |||||
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" | |||||
/> | /> | ||||
<path | |||||
d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" | |||||
/> | |||||
</svg> | |||||
</span> | |||||
<div | |||||
className="ant-alert-content" | |||||
> | |||||
<div | |||||
className="ant-alert-message" | |||||
/> | |||||
<div | |||||
className="ant-alert-description" | |||||
> | |||||
Your seed phrase is the only way to restore your wallet. Write it down. Keep it safe. | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div | |||||
className="sc-gZMcBi juyJFl" | |||||
/> | |||||
<h2> | |||||
<span | |||||
aria-label="wallet" | |||||
className="anticon anticon-wallet" | |||||
role="img" | |||||
> | |||||
<svg | |||||
aria-hidden="true" | |||||
data-icon="wallet" | |||||
fill="currentColor" | |||||
focusable="false" | |||||
height="1em" | |||||
viewBox="64 64 896 896" | |||||
width="1em" | |||||
> | |||||
<path | |||||
d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0 264H184V184h656v200H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200zM580 512a40 40 0 1080 0 40 40 0 10-80 0z" | |||||
/> | |||||
</svg> | |||||
</span> | |||||
Manage Wallets | |||||
</h2> | |||||
<button | <button | ||||
className="sc-bwzfXH crkPeR" | className="sc-bwzfXH crkPeR" | ||||
onClick={[Function]} | onClick={[Function]} | ||||
> | > | ||||
<span | <span | ||||
aria-label="plus-square" | aria-label="plus-square" | ||||
className="anticon anticon-plus-square" | className="anticon anticon-plus-square" | ||||
role="img" | role="img" | ||||
Show All 37 Lines | > | ||||
> | > | ||||
<path | <path | ||||
d="M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zM902 476H588v-76c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-76h314c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" | d="M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zM902 476H588v-76c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-76h314c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" | ||||
/> | /> | ||||
</svg> | </svg> | ||||
</span> | </span> | ||||
Import Wallet | Import Wallet | ||||
</button> | </button> | ||||
<div | |||||
className="sc-gZMcBi juyJFl" | |||||
/> | |||||
[ | |||||
<a | |||||
className="sc-EHOje chPufo" | |||||
href="https://docs.cashtabapp.com/" | |||||
rel="noreferrer" | |||||
target="_blank" | |||||
type="link" | |||||
> | |||||
Documentation | |||||
</a> | |||||
] | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
`; | `; |