X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/762c232937e6825839ada7d682542601aaffbd90..488c558be1f9b4a9aa48a06d43b97db0d8ff9101:/src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx?ds=sidebyside

diff --git a/src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx b/src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx
index 34f9bf3f46..4f2b83af65 100644
--- a/src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx
+++ b/src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx
@@ -3,28 +3,25 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import * as React from 'react';
-import { Button, Grid, StyleRulesCallback, WithStyles, Menu, MenuItem, IconButton } from '@material-ui/core';
+import { Menu, IconButton } from '@material-ui/core';
 import { PopoverOrigin } from '@material-ui/core/Popover';
 
 
-interface DropdownMenuDataProps {
-    id: string,
-    icon: React.ComponentType,
+interface DropdownMenuProps {
+    id: string;
+    icon: React.ComponentType;
 }
 
-
-type DropdownMenuProps = DropdownMenuDataProps;
-
 class DropdownMenu extends React.Component<DropdownMenuProps> {
 
     state = {
         anchorEl: undefined
-    }
+    };
 
     transformOrigin: PopoverOrigin = {
         vertical: "top",
         horizontal: "center"
-    }
+    };
 
     render() {
         const { icon: Icon, id, children } = this.props;
@@ -52,17 +49,17 @@ class DropdownMenu extends React.Component<DropdownMenuProps> {
                     {children}
                 </Menu>
             </div>
-        )
+        );
     }
 
     handleClose = () => {
-        this.setState({ anchorEl: undefined })
+        this.setState({ anchorEl: undefined });
     }
 
     handleOpen = (event: React.MouseEvent<HTMLButtonElement>) => {
-        this.setState({ anchorEl: event.currentTarget })
+        this.setState({ anchorEl: event.currentTarget });
     }
 }
 
 
-export default DropdownMenu
+export default DropdownMenu;
