Skip to content

Commit 3b2ece5

Browse files
committed
Remove unsed var
1 parent 64cec2d commit 3b2ece5

File tree

2 files changed

+2
-38182
lines changed

2 files changed

+2
-38182
lines changed

packages/next/client/image.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ function generateSrcSet({
144144
if (unoptimized) {
145145
return undefined
146146
}
147-
let widths = getDeviceSizes(width)
148-
return widths
147+
148+
return getDeviceSizes(width)
149149
.map((w) => `${callLoader({ src, width: w, quality })} ${w}w`)
150150
.join(', ')
151151
}

0 commit comments

Comments
 (0)