Make the music indicator a proper button

This commit is contained in:
Tristan Daniël Maat 2020-05-30 21:04:31 +01:00
parent 95211c672a
commit f1c2db00e1
Signed by: tlater
GPG key ID: 49670FD774E43268

View file

@ -23,8 +23,8 @@ class Indicator extends React.Component<Props, {}> {
render() {
let classes = classNames({
btn: true,
"col-auto": true,
"text-center": true,
fas: true,
"fa-muted": this.props.muted,
"fa-play": this.props.playing,
@ -32,11 +32,12 @@ class Indicator extends React.Component<Props, {}> {
});
return (
<div
<button
type="button"
id="playerIndicator"
onClick={this.click.bind(this)}
className={classes}
></div>
></button>
);
}
}