Skip to content

Commit 6706892

Browse files
committed
style: Fix Prettier formatting
1 parent 125e8fe commit 6706892

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/lib/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,9 @@ function LiteYouTubeEmbedComponent(
327327
...(props.muted ? { mute: "1" } : {}),
328328
...(shouldAddAutoplayParam ? { autoplay: "1" } : {}),
329329
...(props.enableJsApi ? { enablejsapi: "1" } : {}),
330-
...(props.enableJsApi && typeof window !== 'undefined' ? { origin: window.location.origin } : {}),
330+
...(props.enableJsApi && typeof window !== "undefined"
331+
? { origin: window.location.origin }
332+
: {}),
331333
...(props.playlist ? { list: videoId } : {}),
332334
});
333335

0 commit comments

Comments
 (0)