diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-03-24 15:57:14 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-03-24 15:57:14 +0100 |
commit | 94e1db8b37a3a59e785724e5b9eda6887c1fb646 (patch) | |
tree | 05a89f172dbdc5dd35e1e2d040ec692919841162 /src/client/react | |
parent | 9a617e85ae4c632bf12f32e59da519b676216004 (diff) |
Remove useless constructor
Diffstat (limited to 'src/client/react')
-rw-r--r-- | src/client/react/components/container/RoomFinder.js | 6 |
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') { |