diff --git a/.babelrc b/.babelrc index 3c4d98b9..add80a81 100644 --- a/.babelrc +++ b/.babelrc @@ -1,9 +1,9 @@ { "presets": ["env", "stage-0", "react"], "plugins": [ - "react-hot-loader/babel", - "transform-class-properties", - "transform-decorators-legacy", + "transform-decorators-legacy", + "transform-class-properties", + "react-hot-loader/babel", ] } \ No newline at end of file diff --git a/New Text Document.txt b/New Text Document.txt new file mode 100644 index 00000000..e69de29b diff --git a/src/app/components/ConferenceRoom.js b/src/app/components/ConferenceRoom.js index c5af931e..314fe11c 100644 --- a/src/app/components/ConferenceRoom.js +++ b/src/app/components/ConferenceRoom.js @@ -34,12 +34,6 @@ let strings = new LocalizedStrings({ } }); -@connect((state) => { - return { - conferenceStore: state.voxeet.conference, - participantsStore: state.voxeet.participants - } -}) class ConferenceRoom extends Component { constructor(props) { @@ -281,4 +275,9 @@ ConferenceRoom.defaultProps = { attendeesWaiting: AttendeesWaiting } -export default ConferenceRoom +export default connect((state) => { + return { + conferenceStore: state.voxeet.conference, + participantsStore: state.voxeet.participants + } +})(ConferenceRoom)