36 lines
881 B
JavaScript
36 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 />
|
||
|
);
|
||
|
}
|
||
|
|
||
|
}
|