summaryrefslogtreecommitdiff
path: root/src/containers/app/timeline/PlayButtonContainer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/app/timeline/PlayButtonContainer.js')
-rw-r--r--src/containers/app/timeline/PlayButtonContainer.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/containers/app/timeline/PlayButtonContainer.js b/src/containers/app/timeline/PlayButtonContainer.js
deleted file mode 100644
index 4e3c3d81..00000000
--- a/src/containers/app/timeline/PlayButtonContainer.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import { connect } from "react-redux";
-import {
- pauseSimulation,
- playSimulation
-} from "../../../actions/simulation/playback";
-import PlayButtonComponent from "../../../components/app/timeline/PlayButtonComponent";
-
-const mapStateToProps = state => {
- return {
- isPlaying: state.isPlaying,
- currentTick: state.currentTick,
- lastSimulatedTick: state.lastSimulatedTick
- };
-};
-
-const mapDispatchToProps = dispatch => {
- return {
- onPlay: () => dispatch(playSimulation()),
- onPause: () => dispatch(pauseSimulation())
- };
-};
-
-const PlayButtonContainer = connect(mapStateToProps, mapDispatchToProps)(
- PlayButtonComponent
-);
-
-export default PlayButtonContainer;