From 4885e736b1a25a0c08082f2af3a215c8f6584410 Mon Sep 17 00:00:00 2001 From: Ken Powers Date: Thu, 12 Dec 2024 17:03:25 -0500 Subject: [PATCH] Make player clientOnly --- apps/web-next/src/components/media/player/index.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/web-next/src/components/media/player/index.ts b/apps/web-next/src/components/media/player/index.ts index 78855ef1..3938e96c 100644 --- a/apps/web-next/src/components/media/player/index.ts +++ b/apps/web-next/src/components/media/player/index.ts @@ -1 +1,7 @@ -export { default } from './player'; +import { clientOnly } from '@solidjs/start'; + +const Player = clientOnly(async () => { + return import('./player'); +}); + +export default Player;