import { Connect } from 'dob-react'; import * as React from 'react'; import { PureComponent } from '../../utils/react-helper'; import { StructComponent } from '../struct/struct.component'; import * as S from './menu.style'; import { Props, State } from './menu.type'; import { NewPageComponent } from './new-page/new-page.component'; @Connect export class MenuComponent extends PureComponent { public static defaultProps = new Props(); public state = new State(); public componentDidMount() { this.props.ApplicationAction.initSocket(); } public render() { return ( ); } }