diff --git a/src/react-components/2d-hud.js b/src/react-components/2d-hud.js index 009bf7d11ee5e7d396447025966fa94b5f324401..2b55e64ff086ae6be94fb41681bd7797a032d08e 100644 --- a/src/react-components/2d-hud.js +++ b/src/react-components/2d-hud.js @@ -13,7 +13,6 @@ class TopHUD extends Component { muted: PropTypes.bool, frozen: PropTypes.bool, videoShareMediaSource: PropTypes.string, - availableVREntryTypes: PropTypes.object, onToggleMute: PropTypes.func, onToggleFreeze: PropTypes.func, onSpawnPen: PropTypes.func, @@ -43,7 +42,6 @@ class TopHUD extends Component { }; buildVideoSharingButtons = () => { - if (this.props.availableVREntryTypes.isInHMD) return null; const isMobile = AFRAME.utils.device.isMobile(); const videoShareExtraOptionTypes = []; diff --git a/src/react-components/ui-root.js b/src/react-components/ui-root.js index f8f9d5a1c2430ecab3cc840017029b5635ad90a1..8f56acc1ffb95410d89e2b8cb1bb83c5a10461ea 100644 --- a/src/react-components/ui-root.js +++ b/src/react-components/ui-root.js @@ -1084,7 +1084,6 @@ class UIRoot extends Component { frozen={this.state.frozen} spacebubble={this.state.spacebubble} videoShareMediaSource={this.state.videoShareMediaSource} - availableVREntryTypes={this.props.availableVREntryTypes} onToggleMute={this.toggleMute} onToggleFreeze={this.toggleFreeze} onToggleSpaceBubble={this.toggleSpaceBubble}