From 02dc913860b162991db7fb0e2015a76570fbf33e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 3 Jun 2018 20:12:56 +0200 Subject: create these datasets --- app/client/modules/samplernn/samplernn.show.js | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'app/client/modules/samplernn/samplernn.show.js') diff --git a/app/client/modules/samplernn/samplernn.show.js b/app/client/modules/samplernn/samplernn.show.js index 24d60ab..f16758a 100644 --- a/app/client/modules/samplernn/samplernn.show.js +++ b/app/client/modules/samplernn/samplernn.show.js @@ -18,15 +18,32 @@ const samplernnModule = { class SampleRNNShow extends Component { render(){ + const { samplernn, match, history } = this.props + const { folder } = samplernn || {} + console.log(folder) return ( - +
+
+

{folder ? folder.name : 'Loading...'}

+
+ {folder && folder.name !== 'unsorted' && + + } + +
) } } const mapStateToProps = state => ({ + samplernn: state.module.samplernn, }) const mapDispatchToProps = (dispatch, ownProps) => ({ -- cgit v1.2.3-70-g09d2