Upgrade frontend-auth and frontend-enterprise (#23377)

* Upgrade frontend-enterprise and pass in user

ENT-2648

* Add react-router-dom

* Add back caret
This commit is contained in:
Brandon Baker
2020-03-17 10:31:37 -04:00
committed by GitHub
parent fe93f68163
commit 98e5b9d4a3
5 changed files with 176 additions and 108 deletions

View File

@@ -1,7 +1,7 @@
import { getAuthenticatedAPIClient } from '@edx/frontend-auth';
import { getAuthenticatedApiClient } from '@edx/frontend-auth';
import { NewRelicLoggingService } from '@edx/frontend-logging';
const apiClient = getAuthenticatedAPIClient({
const apiClient = getAuthenticatedApiClient({
appBaseUrl: process.env.LMS_ROOT_URL,
authBaseUrl: process.env.LMS_ROOT_URL,
loginUrl: `${process.env.LMS_ROOT_URL}/login`,