We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7aa2bbd commit 6b0bec5Copy full SHA for 6b0bec5
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