sforkowany z mirror/soapbox
Allow null
rodzic
cfc03f9a3f
commit
0cc684d940
|
@ -153,7 +153,7 @@ const Card: React.FC<ICard> = ({
|
|||
</Stack>
|
||||
);
|
||||
|
||||
let embed: React.ReactNode = '';
|
||||
let embed: React.ReactNode = null;
|
||||
|
||||
const canvas = (
|
||||
<Blurhash
|
||||
|
@ -240,8 +240,6 @@ const Card: React.FC<ICard> = ({
|
|||
{thumbnail}
|
||||
</div>
|
||||
);
|
||||
} else {
|
||||
embed = null;
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Ładowanie…
Reference in New Issue