bigbuffet-rw/app/gabsocial/features/preferences/index.js
2020-04-15 16:58:06 -05:00

35 lines
881 B
JavaScript

import React from 'react';
import { connect } from 'react-redux';
import { defineMessages, injectIntl } from 'react-intl';
import ImmutablePureComponent from 'react-immutable-pure-component';
import PropTypes from 'prop-types';
import Column from '../ui/components/column';
const messages = defineMessages({
heading: { id: 'column.preferences', defaultMessage: 'Preferences' },
});
const mapStateToProps = state => ({});
export default @connect(mapStateToProps)
@injectIntl
class Preferences extends ImmutablePureComponent {
static propTypes = {
dispatch: PropTypes.func.isRequired,
intl: PropTypes.object.isRequired,
};
componentWillMount() {
// this.props.dispatch(fetchPreferences());
}
render() {
const { intl } = this.props;
return (
<Column icon='users' heading={intl.formatMessage(messages.heading)} backBtnSlim />
);
}
}