diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-06 01:27:02 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-06 01:27:02 +0200 |
| commit | 2538fbd5471a61d51742281df0e019a2dd4ea24e (patch) | |
| tree | 89f877a86205412b7bf044cd8034ee6c350f204c /app/client/dataset | |
| parent | d3fcd1212f7214b12b04a83d03dfb129c5fbb0a4 (diff) | |
consolidate
Diffstat (limited to 'app/client/dataset')
| -rw-r--r-- | app/client/dataset/dataset.component.js | 2 | ||||
| -rw-r--r-- | app/client/dataset/dataset.new.js | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/app/client/dataset/dataset.component.js b/app/client/dataset/dataset.component.js index af734ad..12f7987 100644 --- a/app/client/dataset/dataset.component.js +++ b/app/client/dataset/dataset.component.js @@ -5,8 +5,6 @@ import util from '../util' import actions from '../actions' -import DatasetForm from './dataset.form' -import NewDatasetForm from './dataset.new' import { FileList, FileRow } from '../common/fileList.component' import Loading from '../common/loading.component' diff --git a/app/client/dataset/dataset.new.js b/app/client/dataset/dataset.new.js index 617aa90..bc169c7 100644 --- a/app/client/dataset/dataset.new.js +++ b/app/client/dataset/dataset.new.js @@ -10,7 +10,7 @@ import TextInput from '../common/textInput.component' function NewDatasetForm (props) { const { loading, status, error, history, actions, module } = props if (loading) return <Loading /> - console.log(props) + console.log(props) return ( <div class='opaque'> <div class='heading'> @@ -32,10 +32,7 @@ function NewDatasetForm (props) { ) } -const mapStateToProps = state => { - console.log(state); - return state.dataset -} +const mapStateToProps = state => state const mapDispatchToProps = (dispatch, ownProps) => ({ actions: bindActionCreators(datasetActions, dispatch), |
