Skip to content

Commit 0c897ce

Browse files
committed
Portal.view.learn.MainContainerController: remove onConstructed() #6687
1 parent 7d8c043 commit 0c897ce

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

apps/portal/view/learn/MainContainerController.mjs

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,6 @@ class MainContainerController extends Controller {
5050
})
5151
}
5252

53-
/**
54-
*
55-
*/
56-
onConstructed() {
57-
super.onConstructed();
58-
59-
let me = this;
60-
61-
Neo.Main.getByPath({path: 'location.search'})
62-
.then(data => {
63-
me.setState({
64-
deck: getSearchParams(data).deck || 'learnneo'
65-
})
66-
});
67-
68-
// todo: target file does not exist inside the repo
69-
/*fetch('../../../../resources/data/deck/EditorConfig.json')
70-
.then(response => response.json()
71-
.then(data =>
72-
me.setState('editorConfig', data)
73-
))*/
74-
}
75-
7653
/**
7754
* @param {Object} data
7855
* @returns {Promise<void>}

0 commit comments

Comments
 (0)