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 <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-05-09 19:12:47 +02:00
parent bbd628c81b
commit 197114cf18

View file

@ -73,7 +73,7 @@ const rawNextConfig = {
) )
return config return config
}, },
reactStrictMode: true, reactStrictMode: false,
redirects: () => { redirects: () => {
return Promise.resolve([ return Promise.resolve([
{ {