Removed raise-hand for now.

This commit is contained in:
Håvar Aambø Fosstveit
2018-06-29 10:30:59 +02:00
parent ebe78080be
commit 121a553c17
-19
View File
@@ -29,7 +29,6 @@ class Room extends React.Component
onShareScreen, onShareScreen,
onUnShareScreen, onUnShareScreen,
onNeedExtension, onNeedExtension,
onToggleHand,
onLeaveMeeting onLeaveMeeting
} = this.props; } = this.props;
@@ -164,16 +163,6 @@ class Room extends React.Component
:null :null
} }
<div
className={classnames('button', 'raise-hand', {
on : me.raiseHand,
disabled : me.raiseHandInProgress
})}
data-tip='Raise hand'
data-type='dark'
onClick={() => onToggleHand(!me.raiseHand)}
/>
<div <div
className={classnames('button', 'leave-meeting')} className={classnames('button', 'leave-meeting')}
data-tip='Leave meeting' data-tip='Leave meeting'
@@ -218,7 +207,6 @@ Room.propTypes =
onShareScreen : PropTypes.func.isRequired, onShareScreen : PropTypes.func.isRequired,
onUnShareScreen : PropTypes.func.isRequired, onUnShareScreen : PropTypes.func.isRequired,
onNeedExtension : PropTypes.func.isRequired, onNeedExtension : PropTypes.func.isRequired,
onToggleHand : PropTypes.func.isRequired,
onLeaveMeeting : PropTypes.func.isRequired, onLeaveMeeting : PropTypes.func.isRequired,
onLogin : PropTypes.func.isRequired onLogin : PropTypes.func.isRequired
}; };
@@ -248,13 +236,6 @@ const mapDispatchToProps = (dispatch) =>
text : 'Room link copied to the clipboard' text : 'Room link copied to the clipboard'
})); }));
}, },
onToggleHand : (enable) =>
{
if (enable)
dispatch(requestActions.raiseHand());
else
dispatch(requestActions.lowerHand());
},
onLeaveMeeting : () => onLeaveMeeting : () =>
{ {
dispatch(requestActions.leaveRoom()); dispatch(requestActions.leaveRoom());