mirror of
https://github.com/t4t5/nostr-react.git
synced 2025-03-27 02:02:48 +01:00
Remove commented code
This commit is contained in:
parent
eab630f073
commit
95ae00a277
@ -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",
|
||||
|
@ -59,7 +59,6 @@ export function NostrProvider({
|
||||
onConnectCallback(url, sendEvent);
|
||||
}
|
||||
},
|
||||
// onEvent: (_relayUrl, event) => setLastEvent(event),
|
||||
onEvent: (relayUrl, event) => {
|
||||
if (onEventCallback) {
|
||||
onEventCallback(relayUrl, event);
|
||||
|
Loading…
x
Reference in New Issue
Block a user