21 lines
350 B
TypeScript
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>
|
|
);
|
|
}
|