{"size": 366, "ext": "js", "max_stars_repo_path": "src/router/index.js", "max_stars_repo_name": "Juliiii/rn-movie", "max_stars_repo_stars_event_min_datetime": "2019-11-01T06:00:05.000Z", "max_stars_repo_stars_event_max_datetime": "2019-11-01T06:00:05.000Z", "max_issues_repo_path": "src/router/index.js", "max_issues_repo_name": "Juliiii/rn-movie", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/router/index.js", "max_forks_repo_name": "Juliiii/rn-movie", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 28.1538461538, "max_line_length": 78, "alphanum_fraction": 0.6967213115}
import React from 'react';
import { connect } from 'react-redux';
import { addNavigationHelpers } from 'react-navigation';
import RootAppNavigator from './routes';

const HOC = ({dispatch, nav}) => (
	<RootAppNavigator
		navigation={addNavigationHelpers({dispatch, state: nav})}
	/>
);

export default connect(state => ({nav: state.get('nav').toJS()}) , null)(HOC);
