apps/web: prefetch conditions

This commit is contained in:
vchikalkin 2023-11-14 10:48:15 +03:00
parent 382398df97
commit eeee8f8c0a

View File

@ -7,7 +7,7 @@ export function Header({ title, url }: Props & { readonly url: string }) {
return (
<div className="flex justify-between">
<Heading size={2}>{title}</Heading>
<Link href={url} className="text-primary-600 text-sm font-medium hover:underline">
<Link href={url} className="text-primary-600 text-sm font-medium hover:underline" prefetch>
Посмотреть условия
</Link>
</div>