diff --git a/shared/editor/components/DisabledEmbed.tsx b/shared/editor/components/DisabledEmbed.tsx index 28f021b3f..c44ed15d5 100644 --- a/shared/editor/components/DisabledEmbed.tsx +++ b/shared/editor/components/DisabledEmbed.tsx @@ -5,14 +5,17 @@ import { EmbedProps as Props } from "../embeds"; import Widget from "./Widget"; export default function DisabledEmbed( - props: Omit & ThemeProps + props: Omit & + ThemeProps & { + href: string; + } ) { return ( diff --git a/shared/editor/components/Embed.tsx b/shared/editor/components/Embed.tsx index 6c40a63bd..b8c937b64 100644 --- a/shared/editor/components/Embed.tsx +++ b/shared/editor/components/Embed.tsx @@ -30,7 +30,7 @@ const EmbedComponent = ({ if (embedsDisabled) { return (