handle.tsx
This file
Path
apps/web/src/features/shared/handle.tsx
13 lines · 355 bytes · TypeScript
Last changed by
Merge build/comments-web-features into mainoscabrielbefore adoption74bfc72
History of this fileTake it
1234567891011121314import type { Handle } from "@repo/protocol/ids";
import { AppLink } from "./link.tsx";import { personPath } from "./paths.ts";
export const HandleLink = ({ handle }: { readonly handle: Handle }) => ( <AppLink className="decoration-rule font-medium underline hover:decoration-current" to={personPath(handle)} > {handle} </AppLink>);