From 197114cf18e69bad9931a69656244f0e448856f0 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Mon, 9 May 2022 19:12:47 +0200 Subject: [PATCH] Disable react strict mode to prevent double rendering See https://stackoverflow.com/questions/61254372/my-react-component-is-rendering-twice-because-of-strict-mode Signed-off-by: Tilman Vatteroth --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 82e1eb578..40a2376aa 100644 --- a/next.config.js +++ b/next.config.js @@ -73,7 +73,7 @@ const rawNextConfig = { ) return config }, - reactStrictMode: true, + reactStrictMode: false, redirects: () => { return Promise.resolve([ {