Update Embed.tsx
parent
fc347599a5
commit
1b3c459060
|
|
@ -45,8 +45,6 @@ export default function Embed({ embed }: Props) {
|
|||
return { width, height };
|
||||
}
|
||||
|
||||
if(typeof embed.spoiler == 'undefined')
|
||||
embed.spoiler = false;
|
||||
switch (embed.type) {
|
||||
case "Text":
|
||||
case "Website": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue