diff --git a/client/modules/IDE/actions/uploader.js b/client/modules/IDE/actions/uploader.js index 11ca1ba3..fb7976dc 100644 --- a/client/modules/IDE/actions/uploader.js +++ b/client/modules/IDE/actions/uploader.js @@ -31,9 +31,7 @@ function localIntercept(file, options = {}) { } export function dropzoneAcceptCallback(file, done) { - return (dispatch, getState) => { - const state = getState(); - console.log(state); + return () => { // for text files and small files // check mime type // if text, local interceptor