Build fix 🤦♂️
This commit is contained in:
parent
cd56c9b0b0
commit
b6fbc79e7e
2 changed files with 2 additions and 1 deletions
|
@ -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>;
|
||||
}
|
||||
|
|
|
@ -51,6 +51,7 @@ export interface file {
|
|||
key: Uint8Array;
|
||||
src: string;
|
||||
msrc: string;
|
||||
html: string;
|
||||
w: number;
|
||||
h: number;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue