16073: Remove unused styles
authorStephen Smith <stephen@curii.com>
Thu, 22 Sep 2022 19:31:33 +0000 (15:31 -0400)
committerStephen Smith <stephen@curii.com>
Thu, 22 Sep 2022 19:31:33 +0000 (15:31 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

src/views/process-panel/process-output-collection-files.ts

index e09078ae5e69092654e65c87bdd1ae554d6b3672..d0b44cd1e6901f051dce7457c0b8d89264d432dd 100644 (file)
@@ -14,7 +14,6 @@ import { openContextMenu, openCollectionFilesContextMenu } from 'store/context-m
 import { openUploadCollectionFilesDialog } from 'store/collections/collection-upload-actions';
 import { ResourceKind } from "models/resource";
 import { openDetailsPanel } from 'store/details-panel/details-panel-action';
-import { StyleRulesCallback, Theme, withStyles } from "@material-ui/core";
 
 const mapDispatchToProps = (dispatch: Dispatch): Pick<CollectionPanelFilesProps, 'onSearchChange' | 'onFileClick' | 'onUploadDataClick' | 'onCollapseToggle' | 'onSelectionToggle' | 'onItemMenuOpen' | 'onOptionsMenuOpen'> => ({
     onUploadDataClick: (targetLocation?: string) => {
@@ -56,16 +55,4 @@ const mapDispatchToProps = (dispatch: Dispatch): Pick<CollectionPanelFilesProps,
     },
 });
 
-type CssRules = "wrapper"
-    | "dataWrapper"
-    | "leftPanel"
-    | "rightPanel";
-
-const styles: StyleRulesCallback<CssRules> = (theme: Theme) => ({
-    wrapper: {},
-    dataWrapper: {},
-    leftPanel: {},
-    rightPanel: {},
-});
-
-export const ProcessOutputCollectionFiles = withStyles(styles)(connect(null, mapDispatchToProps)(Component));
+export const ProcessOutputCollectionFiles = connect(null, mapDispatchToProps)(Component);