Skip to content

Commit 21a2f82

Browse files
authored
Update player-context.tsx
remove defaultvolume
1 parent 1ec78e1 commit 21a2f82

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎components/player-context.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export const PlayerProvider = ({ children }: { children: JSX.Element }) => {
6868
if (!src) return;
6969
if (src === audio.src) return;
7070
setAudio((p) => { return { ...p, src } });
71-
setVolume(defaultVolume);
7271
setIsOpen(true);
7372
}, [podcast]);
7473

0 commit comments

Comments
 (0)