Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle authored Apr 10, 2024
1 parent 1e1c694 commit cda86fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/shared/lib/get-img-props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export function getImgProps(

if (typeof defaultLoader === 'undefined') {
throw new Error(
'images.loaderFile detected but the file is missing export default.\nRead more: https://nextjs.org/docs/messages/invalid-images-config'
'images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config'
)
}
let loader: ImageLoaderWithConfig = rest.loader || defaultLoader
Expand Down

0 comments on commit cda86fc

Please sign in to comment.