We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81479b5 commit aa67ef6Copy full SHA for aa67ef6
src/Content/Embed/EmbedVideo.tsx
@@ -57,11 +57,11 @@ interface EmbedVideoProps
57
extends Required<Pick<APIEmbedVideo, "width" | "height">> {
58
thumbnail?: APIEmbedThumbnail["url"];
59
url: APIEmbedVideo["url"] | undefined;
60
- proxyUrl: APIEmbedVideo["proxy_url"] | undefined;
+ proxyUrl: APIEmbedVideo["proxy_url"] | undefined | null;
61
}
62
63
function EmbedVideo(props: EmbedVideoProps) {
64
- if (props.proxyUrl !== undefined)
+ if (props.proxyUrl)
65
return (
66
<ThumbnailWrapper
67
thumbnail={props.thumbnail}
0 commit comments