{"size": 439, "ext": "js", "max_stars_repo_path": "turisteo/src/MainFunc.js", "max_stars_repo_name": "RaulMurillo/turisteo", "max_stars_repo_stars_event_min_datetime": "2020-03-07T21:31:47.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-08T07:17:32.000Z", "max_issues_repo_path": "turisteo/src/MainFunc.js", "max_issues_repo_name": "RaulMurillo/turisteo", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "turisteo/src/MainFunc.js", "max_forks_repo_name": "RaulMurillo/turisteo", "max_forks_repo_forks_event_min_datetime": "2020-05-04T07:56:57.000Z", "max_forks_repo_forks_event_max_datetime": "2020-05-04T07:56:57.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 18.2916666667, "max_line_length": 63, "alphanum_fraction": 0.6423690205}
import React from 'react'
import {
	useHistory,
	useLocation,
	withRouter
} from 'react-router-dom'

import IntroductionPage from './IntroductionPage'

function MainFunc() {

	let history = useHistory();
	let location = useLocation();

	let { from } = location.state || { from: { pathname: "/" } };

	return (
		
		<IntroductionPage from={from} history={history} />
						
	);
}

export default withRouter(MainFunc);