diff --git a/src/app/nwc/index.ts b/src/app/nwc/index.ts index 82e78b69..e2ed00c3 100644 --- a/src/app/nwc/index.ts +++ b/src/app/nwc/index.ts @@ -1,4 +1,4 @@ -import { NDKNwc } from "@nostr-dev-kit/ndk"; +import NDKNwc from "@nostr-dev-kit/ndk"; import { NDKNwcResponse } from "@nostr-dev-kit/ndk"; class Nwc { @@ -11,6 +11,7 @@ class Nwc { // Assuming `nwc` is a method from `NDKNwc`, ensure this method exists const response = await this.getNwc(nwc); console.log("NWC response:", response); + // Handle the response as needed return response; } catch (error) { console.error("Error fetching NWC data:", error);