Skip to content

Commit 9b35726

Browse files
cexbrayatpkozlowski-opensource
authored andcommitted
fix(common): typo in warning for NgOptimizedDirective (#56817)
The warning message for the `PLACEHOLDER_DIMENSION_LIMIT_EXCEEDED` check has a repetition of `of`. PR Close #56817
1 parent cdebf75 commit 9b35726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/common/src/directives/ng_optimized_image/ng_optimized_image.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@ function assertPlaceholderDimensions(dir: NgOptimizedImage, imgElement: HTMLImag
13171317
console.warn(
13181318
formatRuntimeError(
13191319
RuntimeErrorCode.PLACEHOLDER_DIMENSION_LIMIT_EXCEEDED,
1320-
`${imgDirectiveDetails(dir.ngSrc)} it uses a placeholder image, but at least one of ` +
1320+
`${imgDirectiveDetails(dir.ngSrc)} it uses a placeholder image, but at least one ` +
13211321
`of the dimensions attribute (height or width) exceeds the limit of ${PLACEHOLDER_DIMENSION_LIMIT}px. ` +
13221322
`To fix this, use a smaller image as a placeholder.`,
13231323
),

0 commit comments

Comments
 (0)