import { 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 } = Route.useRouteContext(); const [uri, setUri] = useState(""); const [isDone, setIsDone] = useState(false); const save = async () => { const nwc = await ark.set_nwc(uri); setIsDone(nwc); }; return (
{!isDone ? ( <>

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