init-process-input-modal-view
[arvados-workbench2.git] / src / views-components / side-panel / side-panel.tsx
index 739e9eac1139ee62b3b38eeb3b8988cea5cc3bb2..12e82dfb102f9ade1df6cd928a19c1957b7ebe3b 100644 (file)
@@ -36,11 +36,11 @@ const mapDispatchToProps = (dispatch: Dispatch): SidePanelTreeProps => ({
 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>
+));