-
- {user.resource.username}
-
-
- {user.resource.first_name ? `${user.resource.first_name} ${user.resource.last_name}` : user.resource.username} is an user registered at {instance.details!.name}.
-
- {user.resource.email ?
-
-
- Send email
-
-
- : null}
-
- )
-}
diff --git a/frontend/src/components/UserLink.tsx b/frontend/src/components/UserLink.tsx
deleted file mode 100644
index a9ec6c3..0000000
--- a/frontend/src/components/UserLink.tsx
+++ /dev/null
@@ -1,49 +0,0 @@
-import * as React from "react"
-import {User, UserId} from "../types";
-import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
-import {faSpinner, faTimesCircle, faUser} from "@fortawesome/free-solid-svg-icons";
-import {useDRFViewSet} from "../hooks/useDRF";
-import {Link} from "./Link";
-
-
-interface UserLinkProps {
- id: UserId,
-}
-
-
-export function UserLink({id}: UserLinkProps): JSX.Element {
- const {retrieve} = useDRFViewSet