blob: 0d712af61db1c6d131311b14f5856f71058c335a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import React from 'react'
import ReactDOM from 'react-dom'
import PanelSwitcher from 'components/panel_switcher'
import App from 'app'
class Main extends React.Component {
render() {
return React.createElement(PanelSwitcher)
}
//
// main entry point for app execution
//
componentDidMount() {
App.start()
}
}
ReactDOM.render(
React.createElement(Main),
document.getElementById('app')
)
|