Skip to content

Instantly share code, notes, and snippets.

@ryanswrt
Last active July 25, 2019 04:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanswrt/06791a4c3ccfd1bfcf63d00ef8713c96 to your computer and use it in GitHub Desktop.
Save ryanswrt/06791a4c3ccfd1bfcf63d00ef8713c96 to your computer and use it in GitHub Desktop.
...
// line 16 in index.js
const connect = async () => {
try {
const newClient = new Wavelet(host);
setNodeInfo(await newClient.getNodeInfo());
setClient(newClient);
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment