mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-01-09 14:12:05 -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';
|
import styles from './app.css';
|
||||||
|
|
||||||
// Register "base" page view
|
|
||||||
// analytics.pageview('/');
|
|
||||||
|
|
||||||
const appTarget = document.getElementById('app');
|
const appTarget = document.getElementById('app');
|
||||||
appTarget.className = styles.app || 'app'; // TODO
|
appTarget.className = styles.app || 'app';
|
||||||
document.body.appendChild(appTarget);
|
|
||||||
|
|
||||||
GUI.setAppElement(appTarget);
|
GUI.setAppElement(appTarget);
|
||||||
|
|
||||||
|
@ -117,6 +113,7 @@ const ScratchDesktopHOC = function (WrappedComponent) {
|
||||||
return (<WrappedComponent
|
return (<WrappedComponent
|
||||||
canEditTitle
|
canEditTitle
|
||||||
canModifyCloudData={false}
|
canModifyCloudData={false}
|
||||||
|
canSave={false}
|
||||||
isScratchDesktop
|
isScratchDesktop
|
||||||
showTelemetryModal={shouldShowTelemetryModal}
|
showTelemetryModal={shouldShowTelemetryModal}
|
||||||
onClickLogo={this.handleClickLogo}
|
onClickLogo={this.handleClickLogo}
|
||||||
|
|
Loading…
Reference in a new issue