chore(XoApp): unnecessary to validate children prop

This commit is contained in:
Julien Fontanet
2016-05-15 23:50:33 +02:00
parent af43061353
commit d1c796d9a7

View File

@@ -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'