import { navigateFromSidePanel } from '../../store/side-panel/side-panel-action';
import { Grid } from '@material-ui/core';
import { SidePanelButton } from '~/views-components/side-panel-button/side-panel-button';
+import { RootState } from '~/store/store';
const DRAWER_WITDH = 240;
}
});
+const mapStateToProps = (state: RootState) => ({
+});
+
export const SidePanel = compose(
withStyles(styles),
- connect(undefined, mapDispatchToProps)
+ connect(mapStateToProps, mapDispatchToProps)
)(({ classes, ...props }: WithStyles<CssRules> & SidePanelTreeProps) =>
<Grid item xs>
<SidePanelButton />
<SidePanelTree {...props} />
- </Grid>);
\ No newline at end of file
+ </Grid>);