Build fix.

This commit is contained in:
Pushkar Anand 2020-11-23 08:45:28 +05:30
parent 6adc49cc2b
commit 437682a901

View file

@ -48,7 +48,7 @@ export default function PreviewCard(props: IProps) {
}
}
return <Cont onClick={handleClick} disabled={!data.src && !imgSrc}>
<img src={data.src || imgSrc} />
return <Cont onClick={handleClick} disabled={!data?.src && !imgSrc}>
<img src={data?.src || imgSrc} />
</Cont>;
}