formatting/minor

This commit is contained in:
2025-06-22 07:53:02 -04:00
parent f993a571db
commit 4eb95b5ba0
2 changed files with 1 additions and 1 deletions

View File

@ -120,6 +120,7 @@ initialize = () => {
const togglePlayback = () => { const togglePlayback = () => {
if (window.isPlaying) { if (window.isPlaying) {
sound.stop(); sound.stop();
sound.unload();
} else { } else {
sound.play(); sound.play();
} }

View File

@ -2,7 +2,6 @@ import {useState, React} from "react";
import jQuery from "jquery"; import jQuery from "jquery";
import Play from '@mui/icons-material/PlayArrow'; import Play from '@mui/icons-material/PlayArrow';
import Pause from '@mui/icons-material/Pause'; import Pause from '@mui/icons-material/Pause';
<style> <style>
@import "@styles/player.css"; @import "@styles/player.css";
</style> </style>