From 92566ba17f5e921d5bff1f3fb4e4b0d92ca4fd39 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 17 Mar 2021 11:54:58 +0100 Subject: audio select --- frontend/app/views/graph/components/audio.list.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'frontend/app/views/graph/components/audio.list.js') 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, }) -- cgit v1.2.3-70-g09d2