We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ec5bfa commit e683d78Copy full SHA for e683d78
src/components/common/Image/Image.js
@@ -20,7 +20,6 @@ function Image({
20
// because the `src` prop is not being attached at all to the <img> tag (I guess JSX omits falsy props for the `src` prop).
21
// That's the reason why we set `failed` value initially, based on the `src` value.
22
const [failed, setFailed] = useState(isFailed(src))
23
-console.log({src})
24
useEffect(() => {
25
setFailed(isFailed(src))
26
}, [src])
0 commit comments