diff --git a/src/components/App/index.jsx b/src/components/App/index.jsx index ce4387460c..ddce7b3f03 100644 --- a/src/components/App/index.jsx +++ b/src/components/App/index.jsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Switch, Router } from 'react-router-dom'; +import { Switch } from 'react-router-dom'; import { Helmet } from 'react-helmet'; import { AuthenticatedPageRoute, PageRoute, AppProvider } from '@edx/frontend-platform/react'; @@ -16,55 +16,52 @@ import SupportPage from '../SupportPage'; import { ToastsProvider, Toasts } from '../Toasts'; import store from '../../data/store'; -import history from '../../data/history'; const AppWrapper = () => { const apiClient = getAuthenticatedHttpClient(); return ( - - - + + +
+ + + } + authenticatedAPIClient={apiClient} + redirect={`${process.env.BASE_URL}/enterprises`} /> - -
- - - } - authenticatedAPIClient={apiClient} - redirect={`${process.env.BASE_URL}/enterprises`} - /> - - - - } - authenticatedAPIClient={apiClient} - redirect={process.env.BASE_URL} - /> - - -