mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-17 23:12:23 +00:00
perf(problemset): add prefetch to problem links for faster navigation
This commit is contained in:
parent
58222795fe
commit
a7ddd80d09
@ -58,7 +58,7 @@ export default async function ProblemsetPage() {
|
|||||||
) : null)}
|
) : null)}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell className="py-2.5">
|
<TableCell className="py-2.5">
|
||||||
<Link href={`/problems/${problem.id}`} className="hover:text-blue-500">
|
<Link href={`/problems/${problem.id}`} className="hover:text-blue-500" prefetch>
|
||||||
{index + 1}. {problem.title}
|
{index + 1}. {problem.title}
|
||||||
</Link>
|
</Link>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
Loading…
Reference in New Issue
Block a user