Skip to content

Commit

Permalink
js(nostr-sdk): add missing arg to InitLogger func in webapp example
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Jan 15, 2024
1 parent 80aba9b commit 414d47d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/nostr-sdk-js/examples/webapp/src/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from "react";
import { Client, ClientSigner, Nip07Signer, initLogger, loadWasmAsync } from '@rust-nostr/nostr-sdk'
import { Client, ClientSigner, LogLevel, Nip07Signer, initLogger, loadWasmAsync } from '@rust-nostr/nostr-sdk'
import './App.css';

class App extends Component {
Expand All @@ -18,7 +18,7 @@ class App extends Component {

// Try to initialize log
try {
initLogger();
initLogger(LogLevel.debug());
} catch (error) {}
}

Expand Down

0 comments on commit 414d47d

Please sign in to comment.