diff --git a/source/utilities/components/link.tsx b/source/utilities/components/link.tsx index 85cd9da..2f9aa56 100644 --- a/source/utilities/components/link.tsx +++ b/source/utilities/components/link.tsx @@ -1,3 +1,5 @@ +import {type JSX} from "preact"; + type Props = { class?: string; text: string; @@ -5,7 +7,7 @@ type Props = { }; /** An `` helper component with `target="_blank"` and `rel="noopener"`. */ -export function Link(props: Props): TRXComponent { +export function Link(props: Props): JSX.Element { return ( {props.text}