Skip to content

Commit e8d85ad

Browse files
authored
Update is-supported-image-removed.md
1 parent 22fa5bd commit e8d85ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docusaurus/docs/dev-docs/migration/v4-to-v5/breaking-changes/is-supported-image-removed.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ The `isSupportedImage` method is supported, but deprecated.
4141

4242
The `isSupportedImage` method is removed.
4343

44-
Developers must use either `isImage` to check if a file is an image, or `isOptimizableImage` to check if the file is an image that can be optimized. Note that the behavior in Strapi v4 was equivalent to `isOptimizableImage`.
45-
44+
Developers must use either `isImage` to check if a file is an image, or `isOptimizableImage` to check if the file is an image that can be optimized.
4645
</SideBySideColumn>
4746

4847
</SideBySideContainer>
4948

5049
## Manual migration
5150

52-
Replace occurences of the `isSupportedImage` method in your code by the appropriate method, `isImage` or `isOptimizableImage`, depending on your needs.
51+
Replace occurences of the `isSupportedImage` method in your code by the appropriate method, `isImage` or `isOptimizableImage`, depending on your needs. Note that the behavior in Strapi v4 was equivalent to `isOptimizableImage`.
52+

0 commit comments

Comments
 (0)