fix missing state

This commit is contained in:
SrGooglo 2023-07-17 13:41:01 +00:00
parent 0f48ea08b4
commit c8cd2913f3

View File

@ -23,6 +23,10 @@ export default (props) => {
export class AudioPlayer extends React.Component {
static contextType = Context
state = {
showControls: false,
}
onMouse = (event) => {
const { type } = event