feat: add users twice

pull/3/head
cudr 5 years ago
parent b025c8d850
commit 20c44d369f

@ -22,6 +22,8 @@ class Connection {
this.options = merge(defaultOptions, options)
this.configure()
return this
}
private configure = () =>

@ -50,6 +50,8 @@ class Connection {
this.docSet = new Automerge.DocSet()
this.connect()
return this
}
sendData = (data: any) => {

@ -31,6 +31,7 @@ class Room extends Component<RoomProps, RoomState> {
componentDidMount() {
this.addUser()
setTimeout(this.addUser, 10)
}
render() {

Loading…
Cancel
Save