From 1e28d8089e9a6f99d30ca51ae1d2ba206442f3a8 Mon Sep 17 00:00:00 2001 From: Bobak Oftadeh Date: Tue, 24 Jul 2018 14:49:40 -0700 Subject: [PATCH] Added propTypes to screenshare variables --- .../actions-bar/desktop-share/component.jsx | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/actions-bar/desktop-share/component.jsx b/bigbluebutton-html5/imports/ui/components/actions-bar/desktop-share/component.jsx index 3ab28abd21..a7be9de3f5 100755 --- a/bigbluebutton-html5/imports/ui/components/actions-bar/desktop-share/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/actions-bar/desktop-share/component.jsx @@ -8,6 +8,9 @@ import { styles } from '../styles'; const propTypes = { intl: intlShape.isRequired, isUserPresenter: PropTypes.bool.isRequired, + handleShareScreen: PropTypes.func.isRequired, + handleUnshareScreen: PropTypes.func.isRequired, + isVideoBroadcasting: PropTypes.bool.isRequired, }; const intlMessages = defineMessages({ @@ -43,21 +46,20 @@ const DesktopShare = ({ isUserPresenter, }) => ( (screenSharingCheck && !isMobileBrowser && isUserPresenter ? -