Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Oct 6, 2022
1 parent 5b40c7f commit 4fd227f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/components/components/AddComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import PropTypes from 'prop-types';
import Events from '../../lib/Events';
import Select from 'react-select';

var DELIMITER = ' ';

export default class AddComponent extends React.Component {
static propTypes = {
entity: PropTypes.object
Expand All @@ -18,10 +16,6 @@ export default class AddComponent extends React.Component {
let componentName = value.value;

var entity = this.props.entity;
var packageName;
var selectedOption = this.options.filter(function(option) {
return option.value === componentName;
})[0];

if (AFRAME.components[componentName].multiple) {
const id = prompt(
Expand Down
2 changes: 0 additions & 2 deletions src/components/scenegraph/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import React from 'react';
import Events from '../../lib/Events.js';
import { saveBlob, saveString } from '../../lib/utils';

const LOCALSTORAGE_MOCAP_UI = 'aframeinspectormocapuienabled';

function filterHelpers(scene, visible) {
scene.traverse(o => {
if (o.userData.source === 'INSPECTOR') {
Expand Down

0 comments on commit 4fd227f

Please sign in to comment.