mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-22 21:52:31 -05:00
app.jsx cleanup
This commit is contained in:
parent
3b1dd4e008
commit
fb26baeac1
1 changed files with 2 additions and 5 deletions
|
@ -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 (<WrappedComponent
|
||||
canEditTitle
|
||||
canModifyCloudData={false}
|
||||
canSave={false}
|
||||
isScratchDesktop
|
||||
showTelemetryModal={shouldShowTelemetryModal}
|
||||
onClickLogo={this.handleClickLogo}
|
||||
|
|
Loading…
Reference in a new issue