diff --git a/src/App.css b/src/App.css index 974d07b..465301d 100644 --- a/src/App.css +++ b/src/App.css @@ -3,4 +3,7 @@ } footer{ margin-top: 24px; + display: flex; + flex-direction: column; + justify-content: center; } diff --git a/src/App.js b/src/App.js index 22c0f31..e3f5436 100644 --- a/src/App.js +++ b/src/App.js @@ -6,13 +6,13 @@ const en = require('react-intl/locale-data/en'); const zh = require('react-intl/locale-data/zh'); const ru = require('react-intl/locale-data/ru'); const fr = require('react-intl/locale-data/fr'); + const addLocaleData = require('react-intl').addLocaleData; addLocaleData(en); addLocaleData(zh); addLocaleData(ru); addLocaleData(fr); - const defaultLocale = localStorage['locale'] ? localStorage['locale'] : 'en'; // English is default locale if none is set const localeList = [ { name: 'English', code: 'en', lang: 'English' },