Skip to content

Commit c873649

Browse files
committed
perf: optimize image with sizes
1 parent 84a7a48 commit c873649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/[locale]/what-is-ethereum/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const NoWrapText = (props: ChildOnlyProp) => (
140140
)
141141

142142
const Image400 = ({ src }: Pick<ImageProps, "src">) => (
143-
<Image src={src} alt="" width={400} />
143+
<Image src={src} alt="" sizes="400px" />
144144
)
145145

146146
const loadData = dataLoader([["growThePieData", fetchGrowThePie]])

0 commit comments

Comments
 (0)