Skip to content

Commit

Permalink
fix: Fix the error judgment problem of the background image of the ga…
Browse files Browse the repository at this point in the history
…me detail page
  • Loading branch information
ximu3 committed Jan 11, 2025
1 parent 2e3842e commit e990600
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/src/components/Game/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export function Game({ gameId }: { gameId: string }): JSX.Element {
{/* Background Image Layer */}
<GameImage
gameId={gameId}
key={`${gameId}-background`}
type="background"
className={cn('w-full h-full object-cover')}
onError={() => setIsImageError(true)}
Expand Down

0 comments on commit e990600

Please sign in to comment.