summaryrefslogtreecommitdiff
path: root/frontend/app/views/graph/components/audio.list.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/views/graph/components/audio.list.js')
-rw-r--r--frontend/app/views/graph/components/audio.list.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/app/views/graph/components/audio.list.js b/frontend/app/views/graph/components/audio.list.js
index b7bf19a..011ab08 100644
--- a/frontend/app/views/graph/components/audio.list.js
+++ b/frontend/app/views/graph/components/audio.list.js
@@ -3,6 +3,7 @@ import { Link } from 'react-router-dom'
import { connect } from 'react-redux'
import { history } from 'app/store'
+import { unslugify } from 'app/utils'
import actions from 'app/actions'
class AudioList extends Component {
@@ -132,8 +133,6 @@ class AudioList extends Component {
}
}
-const unslugify = fn => fn.replace(/-/g, ' ').replace(/_/g, ' ').replace('.mp3', '')
-
const mapStateToProps = state => ({
graph: state.graph.show.res,
})