From 37237ce19a4c096eee03fce8a76425dc31d90a00 Mon Sep 17 00:00:00 2001 From: Robin K Wilson Date: Wed, 28 Jul 2021 11:02:29 -0700 Subject: [PATCH] fixing circle ci errors --- src/change-hub.js | 2 +- src/components/media-views.js | 1 - src/react-components/tokens/RevokeTokenContainer.js | 1 - webpack.config.js | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/change-hub.js b/src/change-hub.js index b8756ace5..7451d0796 100644 --- a/src/change-hub.js +++ b/src/change-hub.js @@ -99,7 +99,7 @@ export async function changeHub(hubId, addToHistory = true) { window.changeHub = changeHub; // TODO see if there is a better way to do this with react router -window.addEventListener("popstate", function(e) { +window.addEventListener("popstate", function() { if (!APP.store.state.preferences.fastRoomSwitching) return; const qs = new URLSearchParams(location.search); const newHubId = qs.get("hub_id") || document.location.pathname.substring(1).split("/")[0]; diff --git a/src/components/media-views.js b/src/components/media-views.js index 37e732ed9..0f02fe094 100644 --- a/src/components/media-views.js +++ b/src/components/media-views.js @@ -19,7 +19,6 @@ import { detect } from "detect-browser"; import semver from "semver"; import { createPlaneBufferGeometry } from "../utils/three-utils"; import HubsTextureLoader from "../loaders/HubsTextureLoader"; -import { MediaAudioDefaults } from "../systems/audio-settings-system"; import { MixerType } from "../systems/audio-system"; import qsTruthy from "../utils/qs_truthy"; diff --git a/src/react-components/tokens/RevokeTokenContainer.js b/src/react-components/tokens/RevokeTokenContainer.js index b5ef4f554..8e080e45a 100644 --- a/src/react-components/tokens/RevokeTokenContainer.js +++ b/src/react-components/tokens/RevokeTokenContainer.js @@ -1,6 +1,5 @@ import React, { useState } from "react"; import PropTypes from "prop-types"; -import { Spinner } from "../misc/Spinner"; import { CenteredModalWrapper } from "../layout/CenteredModalWrapper"; import { RevokeTokenModal } from "./RevokeTokenModal"; import { revokeToken } from "./token-utils"; diff --git a/webpack.config.js b/webpack.config.js index fbcf348a2..c656813cb 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -270,7 +270,7 @@ module.exports = async (env, argv) => { signin: path.join(__dirname, "src", "signin.js"), verify: path.join(__dirname, "src", "verify.js"), tokens: path.join(__dirname, "src", "tokens.js"), - "whats-new": path.join(__dirname, "src", "whats-new.js") + "whats-new": path.join(__dirname, "src", "whats-new.js"), "webxr-polyfill": path.join(__dirname, "src", "webxr-polyfill.js") }, output: {