From 0e9039e80b210e829e6d4ab2359f94f53a6f076a Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Tue, 30 Oct 2018 18:17:47 +0000 Subject: [PATCH] Unneeded var --- src/react-components/2d-hud.js | 2 -- src/react-components/ui-root.js | 1 - 2 files changed, 3 deletions(-) diff --git a/src/react-components/2d-hud.js b/src/react-components/2d-hud.js index 009bf7d11..2b55e64ff 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 f8f9d5a1c..8f56acc1f 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} -- GitLab