Allow null
This commit is contained in:
parent
cfc03f9a3f
commit
0cc684d940
1 changed files with 1 additions and 3 deletions
|
@ -153,7 +153,7 @@ const Card: React.FC<ICard> = ({
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
|
|
||||||
let embed: React.ReactNode = '';
|
let embed: React.ReactNode = null;
|
||||||
|
|
||||||
const canvas = (
|
const canvas = (
|
||||||
<Blurhash
|
<Blurhash
|
||||||
|
@ -240,8 +240,6 @@ const Card: React.FC<ICard> = ({
|
||||||
{thumbnail}
|
{thumbnail}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
} else {
|
|
||||||
embed = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue