From fb26baeac10683d01c4fdae565090839caf932fb Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com> Date: Tue, 6 Oct 2020 14:34:03 -0700 Subject: [PATCH] app.jsx cleanup --- src/renderer/app.jsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/renderer/app.jsx b/src/renderer/app.jsx index 4ed002e..2aa02ce 100644 --- a/src/renderer/app.jsx +++ b/src/renderer/app.jsx @@ -28,12 +28,8 @@ import ElectronStorageHelper from '../common/ElectronStorageHelper'; import styles from './app.css'; -// Register "base" page view -// analytics.pageview('/'); - const appTarget = document.getElementById('app'); -appTarget.className = styles.app || 'app'; // TODO -document.body.appendChild(appTarget); +appTarget.className = styles.app || 'app'; GUI.setAppElement(appTarget); @@ -117,6 +113,7 @@ const ScratchDesktopHOC = function (WrappedComponent) { return (