-
+ {accessIcon}
- {name}
+ {name}
Created by
diff --git a/frontend/src/components/UserLink.tsx b/frontend/src/components/UserLink.tsx
index 6f73f8d..0ab60fd 100644
--- a/frontend/src/components/UserLink.tsx
+++ b/frontend/src/components/UserLink.tsx
@@ -5,7 +5,7 @@ import {Anchor} from "@steffo/bluelib-react";
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
import {faSpinner, faTimesCircle, faUser} from "@fortawesome/free-solid-svg-icons";
import {useDRFViewSet} from "../hooks/useDRF";
-import {Link} from "@reach/router";
+import {Link} from "./Link";
interface UserLinkProps {
@@ -34,17 +34,17 @@ export function UserLink({id}: UserLinkProps): JSX.Element {
// FIXME: use proper bluelib Anchors
if(error) return (
-
+
{id}
)
else if(!user) return (
-
+
{id}
)
return (
-
+
{user.username}
)