Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirox committed Sep 6, 2023
1 parent d4bb10f commit c0312f0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions src/react-components/room/hooks/useObjectList.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export function ObjectListProvider({ scene, children }) {
id: inspectedEl.object3D.id,
name: getDisplayString(inspectedEl),
type: getMediaType(inspectedEl),
eid: inspectedEl.eid,
el: inspectedEl
});
}
Expand Down
1 change: 0 additions & 1 deletion src/systems/camera-system.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ function getInspectableInHierarchyAframe(el) {
}
inspectable = inspectable.parentNode;
}

console.warn("could not find inspectable in hierarchy");
return el.object3D;
}
Expand Down
6 changes: 0 additions & 6 deletions src/utils/media-sorting.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
import { faVideo } from "@fortawesome/free-solid-svg-icons/faVideo";
import { faMusic } from "@fortawesome/free-solid-svg-icons/faMusic";
import { faImage } from "@fortawesome/free-solid-svg-icons/faImage";
import { faNewspaper } from "@fortawesome/free-solid-svg-icons/faNewspaper";
import { faQuestion } from "@fortawesome/free-solid-svg-icons/faQuestion";
import { faCube } from "@fortawesome/free-solid-svg-icons/faCube";
import { hasComponent } from "bitecs";
import { GLTFModel, MediaImage, MediaInfo, MediaPDF, MediaVideo } from "../bit-components";

Expand Down

0 comments on commit c0312f0

Please sign in to comment.