Allow null

This commit is contained in:
Chewbacca 2023-01-09 12:49:22 -05:00
parent cfc03f9a3f
commit 0cc684d940

View file

@ -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 (