mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 10:15:26 +00:00
Update Embed.tsx
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user