const mapStateToProps = (state: RootState) => ({
});
-export const SidePanel = compose(
- withStyles(styles),
- connect(mapStateToProps, mapDispatchToProps)
-)(({ classes, ...props }: WithStyles<CssRules> & SidePanelTreeProps) =>
+export const SidePanel = withStyles(styles)(
+ connect(mapStateToProps, mapDispatchToProps)(
+ ({ classes, ...props }: WithStyles<CssRules> & SidePanelTreeProps) =>
<Grid item xs>
<SidePanelButton />
<SidePanelTree {...props} />
- </Grid>);
+ </Grid>
+));