Skip to content

Commit

Permalink
Merge pull request #29 from reciperadar/fixups/readme-client-example
Browse files Browse the repository at this point in the history
README: Small fixup for the example client code snippet
  • Loading branch information
dmonad committed Oct 18, 2020
2 parents 82e0344 + 69016d8 commit dc4c714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -12,7 +12,7 @@ The Websocket Provider is a solid choice if you want a central source that handl

```js
import * as Y from 'yjs'
import { WebsocketProvider } from 'yjs/provider/websocket.js'
import { WebsocketProvider } from 'y-websocket'

const doc = new Y.Doc()
const wsProvider = new WebsocketProvider('ws://localhost:1234', 'my-roomname', doc)
Expand Down

0 comments on commit dc4c714

Please sign in to comment.