mirror of
https://github.com/cudr/slate-collaborative.git
synced 2024-10-27 20:34:06 +00:00
feat: add users twice
This commit is contained in:
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…
Reference in New Issue
Block a user