Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- socket.on("start game", () => {
- this.props.history.push(`/${this.props.match.params.pin}`);
- });
- socket.emit("start");
- socket.on('start', () => {
- socket.emit('start game');
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement