remove SshKey interface and change object type
[arvados-workbench2.git] / src / views / ssh-key-panel / ssh-key-panel-root.tsx
index 90602de0d2a1d05320c6ccfae3e6cd5bf86f2381..f752228ffc13452ac5f434172d50e60db472b977 100644 (file)
@@ -5,7 +5,7 @@
 import * as React from 'react';
 import { StyleRulesCallback, WithStyles, withStyles, Card, CardContent, Button, Typography } from '@material-ui/core';
 import { ArvadosTheme } from '~/common/custom-theme';
-import { SshKey } from '~/models/ssh-key';
+import { SshKeyResource } from '~/models/ssh-key';
 
 
 type CssRules = 'root' | 'link';
@@ -26,7 +26,7 @@ export interface SshKeyPanelRootActionProps {
 }
 
 export interface SshKeyPanelRootDataProps {
-    sshKeys?: SshKey[];
+    sshKeys?: SshKeyResource[];
 }
 
 type SshKeyPanelRootProps = SshKeyPanelRootDataProps & SshKeyPanelRootActionProps & WithStyles<CssRules>;