Remove commented code

This commit is contained in:
Tristan Edwards 2022-12-20 06:26:02 +00:00
parent eab630f073
commit 95ae00a277
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"name": "@nostrgg/react",
"version": "0.1.0",
"license": "MIT",
"author": "t4t5",
"author": "t4t5 (https://t4t5.xyz)",
"main": "dist/index.js",
"module": "dist/nostrgg-react.esm.js",
"typings": "dist/index.d.ts",

View File

@ -59,7 +59,6 @@ export function NostrProvider({
onConnectCallback(url, sendEvent);
}
},
// onEvent: (_relayUrl, event) => setLastEvent(event),
onEvent: (relayUrl, event) => {
if (onEventCallback) {
onEventCallback(relayUrl, event);