diff --git a/web-apps/urban-sun-safe/src/compontents/App.tsx b/web-apps/urban-sun-safe/src/compontents/App.tsx index 602fcdd..e1988a7 100644 --- a/web-apps/urban-sun-safe/src/compontents/App.tsx +++ b/web-apps/urban-sun-safe/src/compontents/App.tsx @@ -9,7 +9,6 @@ import { watch } from "@arcgis/core/core/reactiveUtils"; import Fullscreen from "@arcgis/core/widgets/Fullscreen"; import AppStore from "../stores/AppStore"; import Header from "./Header"; -import Player from "./Player"; import { Widget } from "./Widget"; type AppProperties = Pick; @@ -23,27 +22,6 @@ class App extends Widget { const view = this.store.view; const fullscreen = new Fullscreen({ view }); view.ui.add(fullscreen, "top-right"); - - const player = new Player({ - store: this.store.playerStore, - }); - - view.ui.add(player, "bottom-right"); - - this.addHandles( - watch( - () => this.store.playerStore.state, - (state) => { - if (state === "animating") { - player.visible = false; - fullscreen.visible = false; - } else if (state === "ready") { - player.visible = true; - fullscreen.visible = true; - } - } - ) - ); } render() {