summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/editor/align/components/timeline
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/editor/align/components/timeline')
-rw-r--r--animism-align/frontend/app/views/editor/align/components/timeline/playCursor.component.js7
-rw-r--r--animism-align/frontend/app/views/editor/align/components/timeline/waveform.component.js7
2 files changed, 2 insertions, 12 deletions
diff --git a/animism-align/frontend/app/views/editor/align/components/timeline/playCursor.component.js b/animism-align/frontend/app/views/editor/align/components/timeline/playCursor.component.js
index 854c43b..80da31f 100644
--- a/animism-align/frontend/app/views/editor/align/components/timeline/playCursor.component.js
+++ b/animism-align/frontend/app/views/editor/align/components/timeline/playCursor.component.js
@@ -1,6 +1,5 @@
import React, { Component } from 'react'
// import { Link } from 'react-router-dom'
-import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import { ZOOM_STEPS } from 'app/constants'
@@ -29,8 +28,4 @@ const mapStateToProps = state => ({
audio: state.audio,
})
-const mapDispatchToProps = dispatch => ({
- // alignActions: bindActionCreators({ ...alignActions }, dispatch),
-})
-
-export default connect(mapStateToProps, mapDispatchToProps)(PlayCursor)
+export default connect(mapStateToProps)(PlayCursor)
diff --git a/animism-align/frontend/app/views/editor/align/components/timeline/waveform.component.js b/animism-align/frontend/app/views/editor/align/components/timeline/waveform.component.js
index 59a2c13..e628a27 100644
--- a/animism-align/frontend/app/views/editor/align/components/timeline/waveform.component.js
+++ b/animism-align/frontend/app/views/editor/align/components/timeline/waveform.component.js
@@ -1,6 +1,5 @@
import React, { Component } from 'react'
// import { Link } from 'react-router-dom'
-// import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import actions from 'app/actions'
@@ -98,8 +97,4 @@ const mapStateToProps = state => ({
peaks: state.site.peaks,
})
-const mapDispatchToProps = dispatch => ({
- // uploadActions: bindActionCreators({ ...uploadActions }, dispatch),
-})
-
-export default connect(mapStateToProps, mapDispatchToProps)(Waveform)
+export default connect(mapStateToProps)(Waveform)