Skip to content

Commit 9f34cbf

Browse files
change channel when filter changes
1 parent 0bdef2d commit 9f34cbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hooks/useInitPlayer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export const useInitPlayer = (
1414

1515
const initPlayer = () => {
1616
if (playerRef.current) {
17+
playerRef.current.setChannel(channel)
1718
return
1819
}
1920

0 commit comments

Comments
 (0)