mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-28 05:51:37 +01:00
8 lines
290 B
JavaScript
8 lines
290 B
JavaScript
import { connect } from 'react-redux';
|
|
import NavigationBar from '../components/navigation_bar';
|
|
|
|
const mapStateToProps = (state, props) => ({
|
|
account: state.getIn(['timelines', 'accounts', state.getIn(['timelines', 'me'])])
|
|
});
|
|
|
|
export default connect(mapStateToProps)(NavigationBar);
|