diff --git a/app/javascripts/components/info.js b/app/javascripts/components/info.js
index efeb4ad..22a3f71 100644
--- a/app/javascripts/components/info.js
+++ b/app/javascripts/components/info.js
@@ -27,24 +27,19 @@ class InfoButton extends React.Component {
dropdown = (
);
diff --git a/app/javascripts/components/main.js b/app/javascripts/components/main.js
index 38a2a1c..1c28f78 100644
--- a/app/javascripts/components/main.js
+++ b/app/javascripts/components/main.js
@@ -144,10 +144,10 @@ class GatherPage extends React.Component {
constructor(props) {
super(props);
- this.state = this.getInitialState();
+ this.state = this.getInitialState(props);
}
- getInitialState = () => {
+ getInitialState = (props) => {
let updateTitle = true;
let showEventsPanel = true;
@@ -175,7 +175,7 @@ class GatherPage extends React.Component {
user: null,
servers: [],
archive: [],
- socket: null,
+ socket: props.socket,
events: [],
updateTitle: updateTitle,
showEventsPanel: showEventsPanel,
@@ -491,7 +491,7 @@ class GatherPage extends React.Component {
-
{this.state.users.length} Players Online
-
+
diff --git a/app/javascripts/components/sound.js b/app/javascripts/components/sound.js
index 1365d3e..17043ae 100644
--- a/app/javascripts/components/sound.js
+++ b/app/javascripts/components/sound.js
@@ -185,7 +185,6 @@ class MusicSelector extends React.Component {