20225: Remove unused imports / dead code
[arvados-workbench2.git] / src / views-components / main-app-bar / main-app-bar.tsx
index fd0bc6ca2614ab4e65bff5ddd086dd2763efe924..60ce68e99dce95c147267033e443bd0626aa5ac7 100644 (file)
@@ -15,8 +15,6 @@ import { HelpMenu } from 'views-components/main-app-bar/help-menu';
 import { ReactNode } from "react";
 import { AdminMenu } from "views-components/main-app-bar/admin-menu";
 import { pluginConfig } from 'plugins';
-import { CollapseLeftPanelTrigger } from 'views-components/side-panel/side-panel'
-// import { toggleSidePanel } from "store/store";
 
 type CssRules = 'toolbar' | 'link';
 
@@ -26,7 +24,7 @@ const styles: StyleRulesCallback<CssRules> = () => ({
         color: 'inherit'
     },
     toolbar: {
-        height: '56px'
+        height: '56px',
     }
 });
 
@@ -37,7 +35,6 @@ interface MainAppBarDataProps {
     uuidPrefix: string;
     siteBanner: string;
     sidePanelIsCollapsed: boolean;
-    toggleSidePanel: (collapsedState:boolean) => void
 }
 
 export type MainAppBarProps = MainAppBarDataProps & WithStyles<CssRules>;
@@ -46,9 +43,6 @@ export const MainAppBar = withStyles(styles)(
     (props: MainAppBarProps) => {
         return <AppBar position="absolute">
             <Toolbar className={props.classes.toolbar}>
-                <CollapseLeftPanelTrigger sidepanelcollapsed={props.sidePanelIsCollapsed} 
-                toggleSidePanel={props.toggleSidePanel}
-                />
                 <Grid container justify="space-between">
                     {pluginConfig.appBarLeft || <Grid container item xs={3} direction="column" justify="center">
                         <Typography variant='h6' color="inherit" noWrap>