Skip to content

Commit

Permalink
refactor: set loading to eager for image choice
Browse files Browse the repository at this point in the history
  • Loading branch information
agrattan0820 committed Jul 26, 2024
1 parent 0b7c548 commit cb39980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/client/src/app/how-to-play/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default async function HowToPlay() {
<>
<Header session={session} />
<main className="container mx-auto px-4 py-24 md:py-40">
<section className="prose mx-auto text-white prose-headings:text-white prose-a:text-white prose-a:underline-offset-2 prose-a:transition hover:prose-a:text-indigo-200 prose-blockquote:text-white">
<section className="prose mx-auto text-white prose-headings:text-white prose-a:text-white prose-a:underline-offset-2 prose-a:transition hover:prose-a:text-indigo-200 prose-blockquote:text-white">
<h1>How to Play</h1>
<p>
Artificial Unintelligence is an online multiplayer game where
Expand Down
1 change: 1 addition & 0 deletions apps/client/src/components/game/image-choice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const ImageChoiceOption = ({
onLoad={onLoad}
width={1024}
height={1024}
loading="eager"
/>
<FiCheck
className={cn(
Expand Down

0 comments on commit cb39980

Please sign in to comment.