Build fix 🤦‍♂️

This commit is contained in:
Pushkar Anand 2020-11-26 22:09:43 +05:30
parent cd56c9b0b0
commit b6fbc79e7e
2 changed files with 2 additions and 1 deletions

View file

@ -64,6 +64,6 @@ export default function PreviewCard(props: IProps) {
return <Cont onClick={handleClick} disabled={!data?.msrc && !imgSrc}>
<img src={data?.msrc || imgSrc} />
{data.metadata.fileType === 1 && <PlayCircleOutline />}
{data?.metadata.fileType === 1 && <PlayCircleOutline />}
</Cont>;
}

View file

@ -51,6 +51,7 @@ export interface file {
key: Uint8Array;
src: string;
msrc: string;
html: string;
w: number;
h: number;
};