This commit is contained in:
mgabdev
2020-04-28 01:33:58 -04:00
parent 763694b5ab
commit c3d0d8bde2
87 changed files with 1392 additions and 826 deletions

View File

@@ -2,6 +2,7 @@ import { Fragment } from 'react'
import { me } from '../initial_state'
import { defineMessages, injectIntl } from 'react-intl'
import { openModal } from '../actions/modal'
import { MODAL_GROUP_CREATE } from '../constants'
import PageTitle from '../features/ui/util/page_title'
import LinkFooter from '../components/link_footer'
import GroupsPanel from '../components/panel/groups_panel'
@@ -22,7 +23,7 @@ const mapStateToProps = (state) => ({
const mapDispatchToProps = (dispatch) => ({
onOpenGroupCreateModal() {
dispatch(openModal('GROUP_CREATE'))
dispatch(openModal(MODAL_GROUP_CREATE))
},
})
@@ -81,6 +82,7 @@ class GroupsPage extends PureComponent {
showBackBtn
title={title}
actions={actions}
tabs={tabs}
layout={(
<Fragment>
<WhoToFollowPanel />
@@ -88,7 +90,6 @@ class GroupsPage extends PureComponent {
<LinkFooter />
</Fragment>
)}
tabs={tabs}
>
<PageTitle path={title} />
{ children }