feat: add isPlaying state to EpisodePlayer component
This commit is contained in:
@ -14,6 +14,7 @@ export default function EpisodePlayer() {
|
||||
const [audioUrl, setAudioUrl] = useState<string | null>(null);
|
||||
const [loading, setLoading] = useState(true);
|
||||
const [error, setError] = useState<string | null>(null);
|
||||
const [isPlaying, setIsPlaying] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
fetchEpisodes();
|
||||
|
Reference in New Issue
Block a user