Progress
This commit is contained in:
@@ -12,7 +12,7 @@ import { FormattedMessage } from 'react-intl';
|
||||
import AccountContainer from '../../../containers/account_container';
|
||||
import Column from '../../../components/column';
|
||||
import ScrollableList from '../../../components/scrollable_list';
|
||||
import DropdownMenuContainer from '../../../containers/dropdown_menu_container';
|
||||
import Dropdown from '../../../components/dropdown_menu'
|
||||
|
||||
const mapStateToProps = (state, { params: { id } }) => ({
|
||||
group: state.getIn(['groups', id]),
|
||||
|
||||
@@ -2,7 +2,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
import { defineMessages, injectIntl } from 'react-intl';
|
||||
import { NavLink } from 'react-router-dom';
|
||||
import DropdownMenuContainer from '../../../../containers/dropdown_menu_container';
|
||||
import Dropdown from '../../../../components/dropdown_menu'
|
||||
import Button from '../../../../components/button';
|
||||
|
||||
const messages = defineMessages({
|
||||
@@ -24,7 +24,7 @@ class Header extends ImmutablePureComponent {
|
||||
router: PropTypes.object,
|
||||
};
|
||||
|
||||
getActionButton() {
|
||||
getActionButton() {
|
||||
const { group, relationships, toggleMembership, intl } = this.props;
|
||||
const toggle = () => toggleMembership(group, relationships);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user