mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
15 lines
330 B
TypeScript
15 lines
330 B
TypeScript
|
import { connect } from 'react-redux';
|
||
|
import App from './App';
|
||
|
|
||
|
import { fetchUiBootstrap } from '../store/ui-bootstrap/actions';
|
||
|
|
||
|
const mapDispatchToProps = {
|
||
|
fetchUiBootstrap,
|
||
|
};
|
||
|
|
||
|
const mapStateToProps = (state: any) => ({
|
||
|
user: state.user.toJS(),
|
||
|
});
|
||
|
|
||
|
export default connect(mapStateToProps, mapDispatchToProps)(App);
|