import { Popup } from "@/components/Popup"; import { detectDevice } from "@/utils/device"; import clsx from "clsx"; import { useState } from "react"; import google from "../../../assets/images/google_play.svg"; import android from "../../../assets/images/icon_android.svg"; import appleIcon2 from "../../../assets/images/icon_apple2.svg"; import Button from "./Button"; import Download from "./DownLoad"; export default function ExportMnemonicPhrase() { const deviceType = detectDevice(); const [openDownload, setOpenDownload] = useState(false); return (
If your mnemonic phrase is
exposed, your crypto assets are at risk of being stolen.{" "}
Anyone with access to this phrase can fully control, transfer, or spend your assets without your consent.
Please use the Tomo App with the same social login method to securely export your mnemonic phrase.
{(deviceType?.deviceType === "PC" || (deviceType?.deviceType === "Mobile" && deviceType?.osType === "iOS")) && ( )} {(deviceType?.deviceType === "PC" || (deviceType?.deviceType === "Mobile" && deviceType?.osType === "Android")) && ( )} {deviceType?.deviceType === "Mobile" && deviceType?.osType === "Android" && ( )}
setOpenDownload(false)} >
); } export function AppleImg2({ className, ...props }: React.DetailedHTMLProps< React.ImgHTMLAttributes, HTMLImageElement >) { return ( {"apple"} ); } export function LockIcon({ ...props }: React.SVGProps) { return ( ); }