import { useArk } from "@lume/ark"; import { ArrowRightIcon, ZapIcon } from "@lume/icons"; import { Container } from "@lume/ui"; import { createLazyFileRoute } from "@tanstack/react-router"; import { useState } from "react"; export const Route = createLazyFileRoute("/nwc")({ component: Screen, }); function Screen() { const ark = useArk(); const [uri, setUri] = useState(""); const [isDone, setIsDone] = useState(false); const save = async () => { const nwc = await ark.set_nwc(uri); if (nwc) { setIsDone(true); } }; return (
{!isDone ? ( <>

Connect bitcoin wallet{" "} to start zapping to your favorite content and creator.