From d2cb17038b8537a609be06be2ed7013dbe27117e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 8 Mar 2021 22:11:55 +0100 Subject: beginning the BIG refactor. moving editor stuff into per-episode hierarchy --- .../components/player/playButton.component.js | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 animism-align/frontend/app/views/align/components/player/playButton.component.js (limited to 'animism-align/frontend/app/views/align/components/player') diff --git a/animism-align/frontend/app/views/align/components/player/playButton.component.js b/animism-align/frontend/app/views/align/components/player/playButton.component.js deleted file mode 100644 index f411941..0000000 --- a/animism-align/frontend/app/views/align/components/player/playButton.component.js +++ /dev/null @@ -1,22 +0,0 @@ -import React from 'react' - -import actions from 'app/actions' - -const PlayButton = ({ playing, onClick }) => { - return ( -
{ - if (onClick) { - onClick(playing) - } else if (playing) { - actions.audio.pause() - } else { - actions.audio.play() - } - }} - /> - ) -} - -export default PlayButton -- cgit v1.2.3-70-g09d2