Skip to content

Commit

Permalink
use img for external images in export build (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
aashutoshrathi authored Aug 4, 2024
1 parent cda6e10 commit 3b91b1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions game/src/components/past-games/da-image.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { DA, DA_NAME } from "@/lib/constants";
import Image from "next/image";

interface DAImageProps {
da: DA;
Expand All @@ -10,7 +9,7 @@ interface DAImageProps {
export const DAImage = (props: DAImageProps) => {
const { da, width = 20, height = 20 } = props;
return (
<Image
<img
className="rounded-full"
src={`https://assets.stackrlabs.xyz/${da}.png`}
alt={DA_NAME[da]}
Expand Down

0 comments on commit 3b91b1b

Please sign in to comment.