Skip to content

Commit

Permalink
ar(feat) DPCP-31: Audio Player
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloreale committed Aug 4, 2024
1 parent fd055e0 commit 6c88075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/molecules/02_AudioPlayer/AudioPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const HAudioPlayer = function ({
prompt = 'Rotation portals',
theme = 'light',
}: IAudioPlayer) {
const audioElement = useRef<HTMLAudioElement>();
const audioElement = useRef<HTMLAudioElement>(null);
const [status, setStatus] = useState('stopped');
const [title, setTitle] = useState(prompt);
const gridSx = [
Expand Down

0 comments on commit 6c88075

Please sign in to comment.