formatting/minor
This commit is contained in:
@ -120,6 +120,7 @@ initialize = () => {
|
||||
const togglePlayback = () => {
|
||||
if (window.isPlaying) {
|
||||
sound.stop();
|
||||
sound.unload();
|
||||
} else {
|
||||
sound.play();
|
||||
}
|
||||
|
@ -2,7 +2,6 @@ import {useState, React} from "react";
|
||||
import jQuery from "jquery";
|
||||
import Play from '@mui/icons-material/PlayArrow';
|
||||
import Pause from '@mui/icons-material/Pause';
|
||||
|
||||
<style>
|
||||
@import "@styles/player.css";
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user