summaryrefslogtreecommitdiff
path: root/www/app/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/app/main.js')
-rw-r--r--www/app/main.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/www/app/main.js b/www/app/main.js
index 0d712af..b162895 100644
--- a/www/app/main.js
+++ b/www/app/main.js
@@ -1,3 +1,9 @@
+//
+// main entry point for app execution
+//
+// This is determined by the 'entry' option in webpack.config.js
+//
+
import React from 'react'
import ReactDOM from 'react-dom'
@@ -9,9 +15,6 @@ class Main extends React.Component {
return React.createElement(PanelSwitcher)
}
- //
- // main entry point for app execution
- //
componentDidMount() {
App.start()
}
@@ -20,4 +23,4 @@ class Main extends React.Component {
ReactDOM.render(
React.createElement(Main),
document.getElementById('app')
-) \ No newline at end of file
+)