From 310e8237862fa4e04b63c987405c18a0b83615f7 Mon Sep 17 00:00:00 2001 From: Zoran Kokeza Date: Fri, 29 Nov 2024 18:12:41 +0100 Subject: [PATCH] remove basemaps leftover --- index.js | 2 +- lib/Views/render.jsx | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/index.js b/index.js index 504e13e532..d8fed46899 100644 --- a/index.js +++ b/index.js @@ -149,7 +149,7 @@ module.exports = terria document.head.appendChild(styleSheet); } - render(terria, [], viewState); + render(terria, viewState); } catch (e) { console.error(e); console.error(e.stack); diff --git a/lib/Views/render.jsx b/lib/Views/render.jsx index 8058433070..e91a20e8ba 100644 --- a/lib/Views/render.jsx +++ b/lib/Views/render.jsx @@ -3,16 +3,11 @@ import RedBox from "redbox-react"; import React from "react"; import Variables from "../Styles/variables.scss"; -export default function renderUi(terria, allBaseMaps, viewState) { +export default function renderUi(terria, viewState) { let render = () => { const UI = require("./UserInterface").default; ReactDOM.render( - , + , document.getElementById("ui") ); };