Skip to content
Snippets Groups Projects
Commit bc0ed7e8 authored by Jure's avatar Jure
Browse files

chore(users-manager): remove unused component

parent 73e96476
No related branches found
No related tags found
No related merge requests found
......@@ -11,13 +11,16 @@ const GET_USERS = gql`
username
teams {
id
teamType
role
name
object {
objectId
}
members {
id
user {
id
username
}
}
}
}
......@@ -54,4 +57,4 @@ const UsersManager = () => (
</Query>
)
module.exports = UsersManager
export default UsersManager
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import Actions from 'pubsweet-client/src/actions'
import UsersManager from './UsersManager'
function mapStateToProps(state) {
return {
users: state.users.users,
teams: state.teams,
error: state.error,
}
}
function mapDispatchToProps(dispatch) {
return {
actions: bindActionCreators(Actions, dispatch),
}
}
export default connect(
mapStateToProps,
mapDispatchToProps,
)(UsersManager)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment