Removed useless shit

This commit is contained in:
Théo 2023-05-01 16:42:54 +02:00
parent 8ec26287bd
commit de9714eb8d

View file

@ -7,9 +7,6 @@ const AppLink = forwardRef<HTMLAnchorElement, Parameters<typeof Link>[0]>((props
if (props.target === '_blank') {
return <a ref={ref} {...props} href={props.href.toString()} />;
}
if (props['aria-disabled']) {
return <span ref={ref} {...props} />;
}
return <Link ref={ref} {...props} href={props.href} />;
});