simplify if statement

This commit is contained in:
Thunder committed 2026-03-25 15:58:45 +02:00
1 parent e72a40f1c9
commit a7a34981cf
1 file changed
+1 -1
@@ -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;