We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47462a8 commit ad5d3c9Copy full SHA for ad5d3c9
1 file changed
source/components/StyledImage/index.js
@@ -62,7 +62,7 @@ function createLowResolutionSrc(src) {
62
const LIMBO_IMAGE = '';
63
64
const StyledImage = ({ src, srcSet, disableLazy, alt, className, ...rest }) => {
65
- const [isLimbo, setIsLimbo] = useState(false);
+ const [isLimbo, setIsLimbo] = React.useState(false);
66
const { loadStatus } = usePreloadedImage(src, srcSet);
67
68
// limbo is intended to remove the image when the src changes but the image is not yet loaded.
0 commit comments