import React from 'react'; import { defineMessages, injectIntl } from 'react-intl'; import { connect } from 'react-redux'; import ImmutablePureComponent from 'react-immutable-pure-component'; import PropTypes from 'prop-types'; import Column from '../ui/components/column'; import PromoPanel from '../ui/components/promo_panel'; import LinkFooter from '../ui/components/link_footer'; const messages = defineMessages({ heading: { id: 'column.info', defaultMessage: 'Server information' }, }); const mapStateToProps = (state, props) => ({ instance: state.get('instance'), }); export default @connect(mapStateToProps) @injectIntl class ServerInfo extends ImmutablePureComponent { static propTypes = { intl: PropTypes.object.isRequired, }; render() { const { intl, instance } = this.props; return (

{instance.get('title')}

{instance.get('description')}
); } }