From 2481d20e41c354102d3813706b494a1d2451d009 Mon Sep 17 00:00:00 2001 From: Tristan Edwards Date: Tue, 20 Dec 2022 08:33:21 +0000 Subject: [PATCH] Add "debug" param to README example --- README.md | 2 +- src/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2819ab2..d209a1a 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ const relayUrls = [ function MyApp() { return ( - + ); diff --git a/src/index.tsx b/src/index.tsx index 97066c5..d9337d9 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -54,7 +54,7 @@ export function NostrProvider({ useEffect(() => { const { sendEvent: _sendEvent } = initNostr({ relayUrls, - onConnect: (url: string, sendEvent) => { + onConnect: (url, sendEvent) => { setIsLoading(false) if (onConnectCallback) {