summaryrefslogtreecommitdiff
path: root/web-ui/app/js/account_recovery.js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js/account_recovery.js')
-rw-r--r--web-ui/app/js/account_recovery.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/web-ui/app/js/account_recovery.js b/web-ui/app/js/account_recovery.js
index 441a8936..cd01378d 100644
--- a/web-ui/app/js/account_recovery.js
+++ b/web-ui/app/js/account_recovery.js
@@ -1,13 +1,18 @@
import React from 'react'
import { render } from 'react-dom'
-import Page from 'js/account_recovery/page'
import a11y from 'react-a11y'
+import { I18nextProvider } from 'react-i18next'
+
+import Page from 'js/account_recovery/page'
+import i18n from 'js/account_recovery/i18n'
import 'font-awesome/scss/font-awesome.scss'
if(process.env.NODE_ENV === 'development') a11y(React);
render(
- <Page/>,
+ <I18nextProvider i18n={ i18n }>
+ <Page/>
+ </I18nextProvider>,
document.getElementById('root')
);