summaryrefslogtreecommitdiff
path: root/web-ui/src/account_recovery/account_recovery.js
diff options
context:
space:
mode:
authorTayane Fernandes <tayane.rmf@gmail.com>2017-02-07 17:39:09 -0200
committerTayane Fernandes <tayane.rmf@gmail.com>2017-02-07 17:39:09 -0200
commitbc922deb23a72d6ca1bf4c39efd1d7366baa9a84 (patch)
treeadf216625b4fb30c79e7577c990ac669da73c204 /web-ui/src/account_recovery/account_recovery.js
parentebd5b3adce44a16213e5c1ec763a642899eba908 (diff)
[#922] Refactoring react folder structure
with @anikarni
Diffstat (limited to 'web-ui/src/account_recovery/account_recovery.js')
-rw-r--r--web-ui/src/account_recovery/account_recovery.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/web-ui/src/account_recovery/account_recovery.js b/web-ui/src/account_recovery/account_recovery.js
new file mode 100644
index 00000000..f2421bfc
--- /dev/null
+++ b/web-ui/src/account_recovery/account_recovery.js
@@ -0,0 +1,18 @@
+import React from 'react'
+import { render } from 'react-dom'
+import a11y from 'react-a11y'
+import { I18nextProvider } from 'react-i18next'
+
+import Page from './page'
+import i18n from '../i18n'
+
+import 'font-awesome/scss/font-awesome.scss'
+
+if(process.env.NODE_ENV === 'development') a11y(React);
+
+render(
+ <I18nextProvider i18n={ i18n }>
+ <Page/>
+ </I18nextProvider>,
+ document.getElementById('root')
+);