aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-03-24 15:57:14 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-03-24 15:57:14 +0100
commit94e1db8b37a3a59e785724e5b9eda6887c1fb646 (patch)
tree05a89f172dbdc5dd35e1e2d040ec692919841162
parent9a617e85ae4c632bf12f32e59da519b676216004 (diff)
Remove useless constructor
-rw-r--r--src/client/react/components/container/RoomFinder.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/client/react/components/container/RoomFinder.js b/src/client/react/components/container/RoomFinder.js
index ed3fa96..b729ee3 100644
--- a/src/client/react/components/container/RoomFinder.js
+++ b/src/client/react/components/container/RoomFinder.js
@@ -40,12 +40,6 @@ class RoomFinder extends React.Component {
history: PropTypes.object.isRequired,
}
- constructor(props) {
- super(props);
-
- this.changeRoom = this.changeRoom.bind(this);
- }
-
componentWillMount() {
const user = userFromMatch(this.props.match);
if (this.props.isVisible && users.byId[user].type !== 'r') {