diff options
Diffstat (limited to 'animism-align/frontend/app/views/upload/components')
| -rw-r--r-- | animism-align/frontend/app/views/upload/components/upload.indexOptions.js | 13 | ||||
| -rw-r--r-- | animism-align/frontend/app/views/upload/components/upload.show.js | 7 |
2 files changed, 5 insertions, 15 deletions
diff --git a/animism-align/frontend/app/views/upload/components/upload.indexOptions.js b/animism-align/frontend/app/views/upload/components/upload.indexOptions.js index 75fdffc..ecb2eeb 100644 --- a/animism-align/frontend/app/views/upload/components/upload.indexOptions.js +++ b/animism-align/frontend/app/views/upload/components/upload.indexOptions.js @@ -1,11 +1,9 @@ import React, { Component } from 'react' -import { Link } from 'react-router-dom' -import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import actions from 'app/actions' -import { Select, Checkbox } from 'app/common' +import { Select } from 'app/common' const thumbnailOptions = [ { name: 'th', label: 'Thumbnails', }, @@ -18,8 +16,8 @@ const thumbnailOptions = [ const sortOptions = [ { name: 'id-asc', label: 'Most recent' }, { name: 'id-desc', label: 'Oldest first' }, - { name: 'username-asc', label: 'Username (A-Z)' }, - { name: 'username-desc', label: 'Username (Z-A)' }, + // { name: 'username-asc', label: 'Username (A-Z)' }, + // { name: 'username-desc', label: 'Username (Z-A)' }, // { name: '-asc', label: '' }, // { name: '-desc', label: '' }, // { name: '-asc', label: '' }, @@ -55,7 +53,4 @@ const mapStateToProps = state => ({ options: state.upload.options, }) -const mapDispatchToProps = dispatch => ({ -}) - -export default connect(mapStateToProps, mapDispatchToProps)(IndexOptions) +export default connect(mapStateToProps)(IndexOptions) diff --git a/animism-align/frontend/app/views/upload/components/upload.show.js b/animism-align/frontend/app/views/upload/components/upload.show.js index 0498cac..20a6a0c 100644 --- a/animism-align/frontend/app/views/upload/components/upload.show.js +++ b/animism-align/frontend/app/views/upload/components/upload.show.js @@ -1,5 +1,4 @@ import React, { Component } from 'react' -import { Link } from 'react-router-dom' import { connect } from 'react-redux' import actions from 'app/actions' @@ -62,8 +61,4 @@ const mapStateToProps = state => ({ upload: state.upload, }) -const mapDispatchToProps = dispatch => ({ - // searchActions: bindActionCreators({ ...searchActions }, dispatch), -}) - -export default connect(mapStateToProps, mapDispatchToProps)(UploadShow) +export default connect(mapStateToProps)(UploadShow) |
