Skip to content

Commit

Permalink
speed up queries for tournaments page
Browse files Browse the repository at this point in the history
  • Loading branch information
aneesazc committed Jul 30, 2024
1 parent 9084499 commit 1d56b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/TournamentSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function TournamentSection({ filters }) {
key={tournament._id}
href={`/tournaments/${tournament._id}`}
className="hover:scale-105 transition-all"
prefetch={true}
prefetch={true} // prefetch the tournament page
>
<TournamentCard {...tournament} />
</Link>
Expand Down

0 comments on commit 1d56b8b

Please sign in to comment.