From 94e1db8b37a3a59e785724e5b9eda6887c1fb646 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Sat, 24 Mar 2018 15:57:14 +0100 Subject: Remove useless constructor --- src/client/react/components/container/RoomFinder.js | 6 ------ 1 file changed, 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') { -- cgit v1.1