diff options
author | Tayane Fernandes <tayane.rmf@gmail.com> | 2017-02-06 14:22:05 -0200 |
---|---|---|
committer | Tayane Fernandes <tayane.rmf@gmail.com> | 2017-02-06 19:02:19 -0200 |
commit | 91bc3bbf22f81f6da767e35430eaeb8127089f5b (patch) | |
tree | e0adcad639f9c14d2eef0970c760b576a0079df1 /web-ui/app/js/account_recovery.js | |
parent | a384b422e54695a2c1931640006403561fde7585 (diff) |
[#922] Add accessibility warning in dev env
with @anikarni
Diffstat (limited to 'web-ui/app/js/account_recovery.js')
-rw-r--r-- | web-ui/app/js/account_recovery.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web-ui/app/js/account_recovery.js b/web-ui/app/js/account_recovery.js index 02183574..a48415f8 100644 --- a/web-ui/app/js/account_recovery.js +++ b/web-ui/app/js/account_recovery.js @@ -1,6 +1,9 @@ import React from 'react' import { render } from 'react-dom' import Page from 'js/account_recovery/page' +import a11y from 'react-a11y' + +if(process.env.NODE_ENV === 'development') a11y(React); render( <Page/>, |