From 5075df7e7bcbc89c9e98481c4a07fb69e78fb1bc Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Tue, 12 Jan 2021 15:50:39 +0100 Subject: [PATCH] :bug::art: fix modale qui s'affiche tout en haut --- mon-entreprise/source/site/entry.en.tsx | 4 ---- mon-entreprise/source/site/entry.fr.tsx | 4 ---- mon-entreprise/webpack.prod.js | 4 ++-- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/mon-entreprise/source/site/entry.en.tsx b/mon-entreprise/source/site/entry.en.tsx index e357a387d..6ea80221e 100644 --- a/mon-entreprise/source/site/entry.en.tsx +++ b/mon-entreprise/source/site/entry.en.tsx @@ -1,7 +1,3 @@ -// We disable Speedy mode for Styled-Component in production because it created a bug for overlay appearance -// https://stackoverflow.com/questions/53486470/react-styled-components-stripped-out-from-production-build -global.SC_DISABLE_SPEEDY = true - import 'core-js/stable' import { hot } from 'react-hot-loader/root' import { render } from 'react-dom' diff --git a/mon-entreprise/source/site/entry.fr.tsx b/mon-entreprise/source/site/entry.fr.tsx index 496b24d28..dc8daf1d0 100644 --- a/mon-entreprise/source/site/entry.fr.tsx +++ b/mon-entreprise/source/site/entry.fr.tsx @@ -1,7 +1,3 @@ -// We disable Speedy mode for Styled-Component in production because it created a bug for overlay appearance -// https://stackoverflow.com/questions/53486470/react-styled-components-stripped-out-from-production-build -global.SC_DISABLE_SPEEDY = true - import { hot } from 'react-hot-loader/root' import 'core-js/stable' import 'react-hot-loader' diff --git a/mon-entreprise/webpack.prod.js b/mon-entreprise/webpack.prod.js index 2dc4f3b48..c843137f3 100644 --- a/mon-entreprise/webpack.prod.js +++ b/mon-entreprise/webpack.prod.js @@ -30,11 +30,11 @@ const prerenderConfig = () => ({ $('#outdated-browser').after(` `)