Skip to content

Commit

Permalink
Make player clientOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
knpwrs committed Dec 12, 2024
1 parent fc3f4e8 commit 4885e73
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apps/web-next/src/components/media/player/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
export { default } from './player';
import { clientOnly } from '@solidjs/start';

const Player = clientOnly(async () => {
return import('./player');
});

export default Player;

0 comments on commit 4885e73

Please sign in to comment.