Skip to content

Commit a7a3498

Browse files
simplify if statement
1 parent e72a40f commit a7a3498

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/components/url-preview/ClientPreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export const ClientPreview = as<'div', { url: string }>(({ url, ...props }, ref)
211211

212212
let previewContent;
213213

214-
if (isYoutube && videoInfo) {
214+
if (videoInfo) {
215215
if (showYoutube) {
216216
if (embedStatus.status === AsyncStatus.Error) return null;
217217

0 commit comments

Comments
 (0)