Skip to content

Commit

Permalink
Disable image optimizations on faction icons
Browse files Browse the repository at this point in the history
  • Loading branch information
petrvecera committed Mar 14, 2023
1 parent 8c5994d commit b1275c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/faction-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ const FactionIcon = ({ name, width }: { name: raceType; width: number }) => {
icon = dakIcon;
}

return <Image src={icon} alt={`${name} faction icon`} width={width} height={width} />;
return (
<Image src={icon} alt={`${name} faction icon`} width={width} height={width} unoptimized />
);
};

export default FactionIcon;

0 comments on commit b1275c3

Please sign in to comment.