From a7a34981cf62c3011d26f33f43a12e02de6c8a71 Mon Sep 17 00:00:00 2001 From: Thunder Date: Wed, 25 Mar 2026 15:58:45 +0200 Subject: [PATCH] simplify if statement --- src/app/components/url-preview/ClientPreview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/url-preview/ClientPreview.tsx b/src/app/components/url-preview/ClientPreview.tsx index bcee1b5d..962168d5 100644 --- a/src/app/components/url-preview/ClientPreview.tsx +++ b/src/app/components/url-preview/ClientPreview.tsx @@ -211,7 +211,7 @@ export const ClientPreview = as<'div', { url: string }>(({ url, ...props }, ref) let previewContent; - if (isYoutube && videoInfo) { + if (videoInfo) { if (showYoutube) { if (embedStatus.status === AsyncStatus.Error) return null;