diff --git a/index.js b/index.js index 504e13e53..d8fed4689 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 805843307..e91a20e8b 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") ); };