Add welcome modal back in (#82)

This commit is contained in:
Alan Friedman 2019-06-04 19:27:44 -04:00 committed by GitHub
parent abee36fbc7
commit fa19b5098d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,6 +83,9 @@ class Home extends Component {
id: this.props.userId,
},
})
if (payload.users.length === 1) {
this.props.openModal('Welcome');
}
})
socket.on('USER_EXIT', (payload) => {