Closed oliverroick closed 1 year ago
Fix #36
Load the audio element in useEffect so the duration state is set once the hook is initialised
audio
useEffect
Fix #36
Load the
audio
element inuseEffect
so the duration state is set once the hook is initialised