From c235da8cc02f2a7bb2aaa60eceef9447d3b3741f Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 16 May 2019 12:52:51 -0700 Subject: [PATCH] fix forward for including intlprovider --- package.json | 1 + src/index.jsx | 69 +++++++++++++++++++++++++++------------------------ 2 files changed, 37 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index 54b1218..d865b4b 100755 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "query-string": "^5.1.1", "react": "^16.7.0", "react-dom": "^16.7.0", + "react-intl": "^2.9.0", "react-redux": "^5.1.1", "react-router": "^4.3.1", "react-router-dom": "^4.3.1", diff --git a/src/index.jsx b/src/index.jsx index 5f333f8..14e6df0 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -4,6 +4,7 @@ import ReactDOM from 'react-dom'; import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'; import { Provider } from 'react-redux'; import SiteFooter from '@edx/frontend-component-footer'; +import { IntlProvider } from 'react-intl'; import { faFacebookSquare, @@ -55,39 +56,41 @@ const socialLinks = [ ]; const App = () => ( - - -
-
-
- - - -
- -
-
-
+ + + +
+
+
+ + + +
+ +
+
+
+
); apiClient.ensurePublicOrAuthenticationAndCookies(