mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-17 14:56:36 +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)}
|
||||
</TableCell>
|
||||
<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}
|
||||
</Link>
|
||||
</TableCell>
|
||||
|
Loading…
Reference in New Issue
Block a user