From 3347e241b860001721cb8c07fc6a82b51f97335e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 22 Jun 2018 17:23:30 +0200 Subject: deploy bundle --- app/client/modules/samplernn/samplernn.actions.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'app/client/modules/samplernn/samplernn.actions.js') diff --git a/app/client/modules/samplernn/samplernn.actions.js b/app/client/modules/samplernn/samplernn.actions.js index 3fd4fc1..f4f7a6d 100644 --- a/app/client/modules/samplernn/samplernn.actions.js +++ b/app/client/modules/samplernn/samplernn.actions.js @@ -108,18 +108,18 @@ export const load_directories = (id) => (dispatch) => { output, }, }) - if (id) { - dispatch({ - type: types.dataset.set_folder, - data: { - folder_id: id, - module - }, - }) - } }).catch(e => { console.error(e) }) + if (id) { + dispatch({ + type: types.dataset.set_folder, + data: { + folder_id: id, + module + }, + }) + } } export const load_graph = () => dispatch => { -- cgit v1.2.3-70-g09d2