Update Embed.tsx

pull/785/head
Skythrew 2022-09-19 18:18:03 +02:00 committed by GitHub
parent fc347599a5
commit 1b3c459060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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": {