mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
fix imports
This commit is contained in:
@@ -23,11 +23,10 @@
|
||||
*/
|
||||
|
||||
import React, {FC} from "react";
|
||||
import {DateFromNow, DeleteButton, DownloadButton} from "@scm-manager/ui-components/src";
|
||||
import {DateFromNow, DeleteButton} from "@scm-manager/ui-components";
|
||||
import {PublicKey} from "./SetPublicKeys";
|
||||
import {useTranslation} from "react-i18next";
|
||||
import {Link} from "@scm-manager/ui-types";
|
||||
import styled from "styled-components";
|
||||
|
||||
type Props = {
|
||||
publicKey: PublicKey;
|
||||
@@ -51,7 +50,8 @@ export const PublicKeyEntry: FC<Props> = ({ publicKey, onDelete }) => {
|
||||
<td className="is-hidden-mobile">
|
||||
<DateFromNow date={publicKey.created}/>
|
||||
</td>
|
||||
<td className="is-hidden-mobile">{publicKey._links?.raw ? <a href={(publicKey._links.raw as Link).href}>{publicKey.id}</a> : publicKey.id}</td>
|
||||
<td className="is-hidden-mobile">{publicKey._links?.raw ?
|
||||
<a href={(publicKey._links.raw as Link).href}>{publicKey.id}</a> : publicKey.id}</td>
|
||||
<td>{deleteButton}</td>
|
||||
</tr>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user