From 3e44786332da7cfd74bd985d35310408b5458543 Mon Sep 17 00:00:00 2001 From: Douglas Hall Date: Wed, 3 Apr 2019 12:07:59 -0400 Subject: [PATCH] Turn off RTL support for dev environment. --- src/index.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.jsx b/src/index.jsx index ac38668..7630ef8 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -15,7 +15,9 @@ import App from './components/App'; if (apiClient.ensurePublicOrAuthencationAndCookies(window.location.pathname)) { const { store, history } = configureStore(); - handleRtl(); + if (process.env.NODE_ENV === 'production') { + handleRtl(); + } ReactDOM.render(, document.getElementById('root'));