chore(XoApp): unnecessary to validate children prop
This commit is contained in:
@@ -6,10 +6,7 @@ import { Notification } from 'notification'
|
||||
// import {
|
||||
// keyHandler
|
||||
// } from 'react-key-handler'
|
||||
import {
|
||||
propTypes,
|
||||
routes
|
||||
} from 'utils'
|
||||
import { routes } from 'utils'
|
||||
|
||||
import About from './about'
|
||||
import Backup from './backup'
|
||||
@@ -38,9 +35,6 @@ import Vm from './vm'
|
||||
user: User,
|
||||
'vms/:id': Vm
|
||||
})
|
||||
@propTypes({
|
||||
children: propTypes.node
|
||||
})
|
||||
export default class XoApp extends Component {
|
||||
componentDidMount () {
|
||||
this.refs.bodyWrapper.style.minHeight = this.refs.menu.getWrappedInstance().height + 'px'
|
||||
|
||||
Reference in New Issue
Block a user