mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 10:49:02 +00:00
Add welcome modal back in (#82)
This commit is contained in:
parent
abee36fbc7
commit
fa19b5098d
@ -83,6 +83,9 @@ class Home extends Component {
|
|||||||
id: this.props.userId,
|
id: this.props.userId,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
if (payload.users.length === 1) {
|
||||||
|
this.props.openModal('Welcome');
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
socket.on('USER_EXIT', (payload) => {
|
socket.on('USER_EXIT', (payload) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user