We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a8f148 commit a3ec7edCopy full SHA for a3ec7ed
source/components/StyledImage/index.js
@@ -25,7 +25,7 @@ function usePreloadedImage(src, srcSet) {
25
};
26
27
React.useEffect(() => {
28
- if (requestId) {
+ if (requestId !== null) {
29
cancelAnimationFrame(requestId);
30
}
31
0 commit comments