Merge branch 'master' into 14452-my-account
[arvados-workbench2.git] / src / views / ssh-key-panel / ssh-key-panel.tsx
index c7e3516e0ab9cf2bede1b08df4256ab8c2821d55..4e800296d076fb3f368ac9d98959d3d00520a18b 100644 (file)
@@ -20,8 +20,8 @@ const mapDispatchToProps = (dispatch: Dispatch): SshKeyPanelRootActionProps => (
     openSshKeyCreateDialog: () => {
         dispatch<any>(openSshKeyCreateDialog());
     },
-    openRowOptions: (event, index, sshKey) => {
-        dispatch<any>(openSshKeyContextMenu(event, index, sshKey));
+    openRowOptions: (event, sshKey) => {
+        dispatch<any>(openSshKeyContextMenu(event, sshKey));
     },
     openPublicKeyDialog: (name: string, publicKey: string) => {
         dispatch<any>(openPublicKeyDialog(name, publicKey));