From c05a918de5f52b0333da4ab3e96b0a76611fe101 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 3 Jun 2018 19:53:33 +0200 Subject: abstract this ugly datasets code!! --- app/client/modules/samplernn/samplernn.reducer.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/client/modules/samplernn/samplernn.reducer.js') diff --git a/app/client/modules/samplernn/samplernn.reducer.js b/app/client/modules/samplernn/samplernn.reducer.js index 4084d48..d91d64d 100644 --- a/app/client/modules/samplernn/samplernn.reducer.js +++ b/app/client/modules/samplernn/samplernn.reducer.js @@ -33,6 +33,9 @@ const samplernnReducer = (state = samplernnInitialState, action) => { ...state, } + // so now the last thing is to figure out how to access things inside these datasets + // and rebuild them if need be, considering this is SUPER awkward inside of redux. + case types.folder.create: if (action.data.module === 'samplernn') { return { -- cgit v1.2.3-70-g09d2