Skip to content

Commit 6b0bec5

Browse files
committed
🐛 Import bug
1 parent 7aa2bbd commit 6b0bec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/components/StyledImage/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function createLowResolutionSrc(src) {
6262
const LIMBO_IMAGE = '';
6363

6464
const StyledImage = ({ src, srcSet, disableLazy, alt, className, ...rest }) => {
65-
const [isLimbo, setIsLimbo] = useState(false);
65+
const [isLimbo, setIsLimbo] = React.useState(false);
6666
const { loadStatus } = usePreloadedImage(src, srcSet);
6767

6868
// limbo is intended to remove the image when the src changes but the image is not yet loaded.

0 commit comments

Comments
 (0)