This commit is contained in:
mgabdev
2020-04-07 23:26:39 -04:00
parent f6fe64cb53
commit 2b61a7c067
3 changed files with 2 additions and 5 deletions

View File

@@ -21,9 +21,6 @@ const messages = defineMessages({
})
const mapStateToProps = (state, { params }) => {
console.log('params:', params)
const groupId = isObject(params) ? params['id'] : null
const group = state.getIn(['groups', groupId])
@@ -64,6 +61,7 @@ class Create extends ImmutablePureComponent {
intl: PropTypes.object.isRequired,
onTitleChange: PropTypes.func.isRequired,
onSubmit: PropTypes.func.isRequired,
onCloseModal: PropTypes.func,
}
componentWillMount() {