Skip to content

Commit

Permalink
chore: improve copy on second checkbox in backup page
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Oct 23, 2024
1 parent 36379a8 commit cc25f5a
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions frontend/src/screens/BackupMnemonic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,17 +201,24 @@ export function BackupMnemonic() {
secure place
</Label>
</div>
<div className="flex items-center mt-5">
<Checkbox
id="backup2"
required
onCheckedChange={() => setIsBackedUp2(!backedUp2)}
/>
<Label htmlFor="backup2" className="ml-2">
I understand the recovery phrase alone will not restore funds
from my lightning channels.{" "}
</Label>
</div>
{backedUp && (
<div className="flex mt-5">
<Checkbox
id="backup2"
required
onCheckedChange={() => setIsBackedUp2(!backedUp2)}
/>
<Label htmlFor="backup2" className="ml-2">
I understand the <b>recovery phrase</b> AND{" "}
{info?.albyAccountConnected ? (
<b>unlock password</b>
) : (
<b>a backup of my hub data directory</b>
)}{" "}
is required to recover funds from my lightning channels.{" "}
</Label>
</div>
)}
</MnemonicInputs>
<div className="flex justify-center">
<Button type="submit" size="lg">
Expand Down

0 comments on commit cc25f5a

Please sign in to comment.