Files
nostr-voice/components/nostr-client-wrapper.tsx
2025-05-28 22:57:27 +02:00

21 lines
350 B
TypeScript

'use client';
import { NostrProvider } from "nostr-react";
import { ReactNode } from "react";
const relayUrls = [
"wss://relay.nostr.band"
];
export default function NostrClientWrapper({
children
}: {
children: ReactNode
}) {
return (
<NostrProvider relayUrls={relayUrls} debug={true}>
{children}
</NostrProvider>
);
}