13494: Minor UI fixes.
[arvados-workbench2.git] / src / views / keep-service-panel / keep-service-panel-root.tsx
index 57193d355af336ea9c1baaeebde8abcd2ba29a77..f2a7ed1c5d5d42dcc3bd002c35ebec075407dff7 100644 (file)
@@ -3,7 +3,7 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import * as React from 'react';
-import { StyleRulesCallback, WithStyles, withStyles, Card, CardContent, Button, Typography, Grid, Table, TableHead, TableRow, TableCell, TableBody, Tooltip, IconButton, Checkbox } from '@material-ui/core';
+import { StyleRulesCallback, WithStyles, withStyles, Card, CardContent, Grid, Table, TableHead, TableRow, TableCell, TableBody, Tooltip, IconButton, Checkbox } from '@material-ui/core';
 import { ArvadosTheme } from '~/common/custom-theme';
 import { MoreOptionsIcon } from '~/components/icon/icon';
 import { KeepServiceResource } from '~/models/keep-services';
@@ -23,7 +23,7 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
 });
 
 export interface KeepServicePanelRootActionProps {
-    openRowOptions: (event: React.MouseEvent<HTMLElement>, index: number, keepService: KeepServiceResource) => void;
+    openRowOptions: (event: React.MouseEvent<HTMLElement>, keepService: KeepServiceResource) => void;
 }
 
 export interface KeepServicePanelRootDataProps {
@@ -72,7 +72,7 @@ export const KeepServicePanelRoot = withStyles(styles)(
                                         <TableCell>{keepService.serviceType}</TableCell>
                                         <TableCell>
                                             <Tooltip title="More options" disableFocusListener>
-                                                <IconButton onClick={event => openRowOptions(event, index, keepService)}>
+                                                <IconButton onClick={event => openRowOptions(event, keepService)}>
                                                     <MoreOptionsIcon />
                                                 </IconButton>
                                             </Tooltip>