{"size": 537, "ext": "js", "max_stars_repo_path": "maltd-frontend/src/App.js", "max_stars_repo_name": "karthikmsqa/maltd", "max_stars_repo_stars_event_min_datetime": "2020-01-17T17:14:22.000Z", "max_stars_repo_stars_event_max_datetime": "2021-01-29T03:23:35.000Z", "max_issues_repo_path": "maltd-frontend/src/App.js", "max_issues_repo_name": "karthikmsqa/maltd", "max_issues_repo_issues_event_min_datetime": "2020-01-15T21:51:13.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-28T22:10:49.000Z", "max_forks_repo_path": "maltd-frontend/src/App.js", "max_forks_repo_name": "karthikmsqa/maltd", "max_forks_repo_forks_event_min_datetime": "2020-01-14T21:30:32.000Z", "max_forks_repo_forks_event_max_datetime": "2020-11-10T04:58:52.000Z"}
{"max_stars_count": 3, "max_issues_count": 38, "max_forks_count": 11, "avg_line_length": 24.4090909091, "max_line_length": 71, "alphanum_fraction": 0.625698324}
import React from "react";
import { Switch, Redirect, Route, useHistory } from "react-router-dom";
import AuthenticationGuard from "./components/hoc/AuthenticationGuard";

export default function App() {
  const header = {
    name: "Account and License Management Tool",
    history: useHistory()
  };

  return (
    <div>
      <Switch>
        <Redirect exact from="/" to="/ecmusermgmt" />
        <Route exact path="/ecmusermgmt">
          <AuthenticationGuard header={header} />
        </Route>
      </Switch>
    </div>
  );
}
