Skip to content

Commit

Permalink
fix: replaced useless let
Browse files Browse the repository at this point in the history
  • Loading branch information
stefano-rainieri authored Nov 10, 2021
1 parent 24f7c21 commit 8ccc19f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/client/image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ function cloudinaryLoader({
}: DefaultImageLoaderProps): string {
// Demo: https://res.cloudinary.com/demo/image/upload/w_300,c_limit,q_auto/turtles.jpg
const params = ['f_auto', 'c_limit', 'w_' + width, 'q_' + (quality || 'auto')]
let paramsString = params.join(',') + '/'
const paramsString = params.join(',') + '/'
return `${root}${paramsString}${normalizeSrc(src)}`
}

Expand Down

0 comments on commit 8ccc19f

Please sign in to comment.