This commit is contained in:
gpt-engineer-app[bot]
2025-12-21 13:47:32 +00:00
parent fd8f1671ca
commit 56862114ec
2 changed files with 67 additions and 83 deletions
+2
View File
@@ -18,6 +18,7 @@ interface MusicContextType {
currentIndex: number;
selectedStation: Station | null;
hasFetched: boolean;
audioElement: HTMLAudioElement | null;
setVolume: (volume: number) => void;
playStation: (station: Station, index: number) => void;
togglePlay: () => void;
@@ -188,6 +189,7 @@ export const MusicProvider = ({ children }: { children: ReactNode }) => {
currentIndex,
selectedStation,
hasFetched,
audioElement: audioRef.current,
setVolume,
playStation,
togglePlay,