spee.ch/react/containers/LoginPage/index.js

11 lines
236 B
JavaScript
Raw Normal View History

import {connect} from 'react-redux';
import View from './view';
const mapStateToProps = ({ channel }) => {
return {
loggedInChannelName: channel.loggedInChannel.name,
};
};
export default connect(mapStateToProps, null)(View);