Skip to content

Commit 15ccca5

Browse files
committed
didn't need that
1 parent c752b4f commit 15ccca5

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

webapp/src/app.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -723,11 +723,6 @@ export class ProjectView
723723
openBlocks(blocksFile?: pkg.File) {
724724
if (this.updatingEditorFile) return; // already transitioning
725725

726-
// const blocksFileExplorer = !!pxt.appTarget.appTheme.blocksFileExplorer;
727-
// if (blocksFileExplorer && !this.state.showFiles) {
728-
// this.setState({ showFiles: true });
729-
// }
730-
731726
const mainBlocks = pkg.mainEditorPkg().files[pxt.MAIN_BLOCKS];
732727
const targetBlocksFile = blocksFile || mainBlocks;
733728

@@ -782,11 +777,6 @@ export class ProjectView
782777
async openBlocksAsync(blocksFile?: pkg.File) {
783778
if (this.updatingEditorFile) return; // already transitioning
784779

785-
// const blocksFileExplorer = !!pxt.appTarget.appTheme.blocksFileExplorer;
786-
// if (blocksFileExplorer && !this.state.showFiles) {
787-
// this.setState({ showFiles: true });
788-
// }
789-
790780
const epkg = pkg.mainEditorPkg();
791781

792782
let mainBlocks = epkg.files[pxt.MAIN_BLOCKS];
@@ -1899,7 +1889,6 @@ export class ProjectView
18991889

19001890
this.setState({
19011891
home: false,
1902-
// showFiles: blocksFileExplorer ? true : (h.githubId ? true : false),
19031892
showFiles: h.githubId ? true : false,
19041893
editorState: editorState,
19051894
tutorialOptions: h.tutorial,

0 commit comments

Comments
 (0)