2016-08-19 13:57:50 +02:00
|
|
|
/*
|
|
|
|
|
*
|
|
|
|
|
* LeftMenu
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2019-04-03 13:18:43 +02:00
|
|
|
import React, { memo } from 'react';
|
|
|
|
|
import { withRouter } from 'react-router-dom';
|
2017-08-18 14:17:15 +02:00
|
|
|
|
2019-02-22 10:05:07 +01:00
|
|
|
import LeftMenuHeader from '../../components/LeftMenuHeader';
|
|
|
|
|
import LeftMenuLinkContainer from '../../components/LeftMenuLinkContainer';
|
|
|
|
|
import LeftMenuFooter from '../../components/LeftMenuFooter';
|
2017-08-18 14:17:15 +02:00
|
|
|
|
2019-04-03 16:40:15 +02:00
|
|
|
import ErrorBoundary from '../ErrorBoundary';
|
|
|
|
|
|
2016-08-26 13:28:12 +02:00
|
|
|
import styles from './styles.scss';
|
2016-08-19 13:57:50 +02:00
|
|
|
|
2018-06-28 12:49:26 +02:00
|
|
|
function LeftMenu(props) {
|
|
|
|
|
return (
|
|
|
|
|
<div className={styles.leftMenu}>
|
2019-04-03 16:40:15 +02:00
|
|
|
<LeftMenuHeader key="header" {...props} />
|
|
|
|
|
<ErrorBoundary key="plugins">
|
|
|
|
|
<LeftMenuLinkContainer {...props} />
|
|
|
|
|
</ErrorBoundary>
|
|
|
|
|
<LeftMenuFooter key="footer" {...props} />
|
2018-06-28 12:49:26 +02:00
|
|
|
</div>
|
|
|
|
|
);
|
2016-08-19 13:57:50 +02:00
|
|
|
}
|
|
|
|
|
|
2019-04-03 13:18:43 +02:00
|
|
|
export default withRouter(memo(LeftMenu));
|