Google callbacks wrapped in dispatch, but shouldn't have beeen

This commit is contained in:
James Barnsley
2020-08-17 19:31:28 +12:00
parent d02d5dd491
commit 871c003a64
14 changed files with 46 additions and 31 deletions

View File

@ -64,14 +64,17 @@ class LibraryTracks extends React.Component {
}
const options = (
<Button
onClick={(e) => this.playAll(e)}
tracking={{ category: 'LibraryTracks', action: 'Play' }}
noHover
>
<Icon name="play_circle_filled" />
<I18n path="actions.play_all" />
</Button>
<div className="header__options__wrapper">
<Button
onClick={(e) => this.playAll(e)}
tracking={{ category: 'LibraryTracks', action: 'Play' }}
noHover
discrete
>
<Icon name="play_circle_filled" />
<I18n path="actions.play_all" />
</Button>
</div>
);
return (