Skip to content

Commit

Permalink
docs: fix syntax error in JS example in README (#2123)
Browse files Browse the repository at this point in the history
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com>
  • Loading branch information
scenaristeur and maschad authored Oct 4, 2023
1 parent e8123d3 commit 28794fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ import { createLibp2p } from 'libp2p'
import { webSockets } from '@libp2p/websockets'
import { noise } from '@chainsafe/libp2p-noise'
import { mplex } from '@libp2p/mplex'
import { yamux } from '@chainsafe/libp2p-yamux',
import { yamux } from '@chainsafe/libp2p-yamux'

const node = await createLibp2p({
transports: [webSockets()],
Expand Down Expand Up @@ -214,7 +214,7 @@ import { createLibp2p } from 'libp2p'
import { webSockets } from '@libp2p/websockets'
import { noise } from '@chainsafe/libp2p-noise'
import { mplex } from '@libp2p/mplex'
import { yamux } from '@chainsafe/libp2p-yamux',
import { yamux } from '@chainsafe/libp2p-yamux'

import { bootstrap } from '@libp2p/bootstrap'

Expand Down

0 comments on commit 28794fe

Please sign in to comment.