import { CancelIcon } from "@lume/icons"; import * as Dialog from "@radix-ui/react-dialog"; import { useState } from "react"; export function BackupDialog() { const [key, setKey] = useState(""); const [passphase, setPassphase] = useState(""); const encryptKey = async () => { console.log("****"); }; return ( Esc

This is your account key

It's use for login to Lume or other Nostr clients. You will lost access to your account if you lose this key.

setPassphase(e.target.value)} className="h-11 w-full resize-none rounded-lg border-transparent bg-neutral-100 placeholder:text-neutral-600 focus:border-blue-500 focus:ring focus:ring-blue-100 dark:bg-neutral-900 dark:focus:ring-blue-900" /> {passphase.length ? (
) : null}
); }