Removed raise-hand for now.

master
Håvar Aambø Fosstveit 2018-06-29 10:30:59 +02:00
parent ebe78080be
commit 121a553c17
1 changed files with 0 additions and 19 deletions

View File

@ -29,7 +29,6 @@ class Room extends React.Component
onShareScreen,
onUnShareScreen,
onNeedExtension,
onToggleHand,
onLeaveMeeting
} = this.props;
@ -164,16 +163,6 @@ class Room extends React.Component
: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
className={classnames('button', 'leave-meeting')}
data-tip='Leave meeting'
@ -218,7 +207,6 @@ Room.propTypes =
onShareScreen : PropTypes.func.isRequired,
onUnShareScreen : PropTypes.func.isRequired,
onNeedExtension : PropTypes.func.isRequired,
onToggleHand : PropTypes.func.isRequired,
onLeaveMeeting : PropTypes.func.isRequired,
onLogin : PropTypes.func.isRequired
};
@ -248,13 +236,6 @@ const mapDispatchToProps = (dispatch) =>
text : 'Room link copied to the clipboard'
}));
},
onToggleHand : (enable) =>
{
if (enable)
dispatch(requestActions.raiseHand());
else
dispatch(requestActions.lowerHand());
},
onLeaveMeeting : () =>
{
dispatch(requestActions.leaveRoom());