refactor: use blurhash to render background

This commit is contained in:
Prayag Prajapati committed 2025-07-04 15:19:38 +05:30
1 parent 53311a1728
commit c9d16f4669
12 files changed
+205 -164

No files matched your search

+2 -2
View File
@@ -140,8 +140,8 @@ export function VideoPlayer() {
s.tracks,
]);
const setBackdrop = useBackdropStore((s) => s.setBackdrop);
useEffect(() => setBackdrop("", ""), []);
const setBackdrop = useBackdropStore(useShallow((s) => s.setBackdrop));
useEffect(() => setBackdrop(""), []);
const handleReady = async () => {
if (api && !isPlayerReady && player.current) {