mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 20:20:56 -05:00
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:
parent
bbd628c81b
commit
197114cf18
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ const rawNextConfig = {
|
||||||
)
|
)
|
||||||
return config
|
return config
|
||||||
},
|
},
|
||||||
reactStrictMode: true,
|
reactStrictMode: false,
|
||||||
redirects: () => {
|
redirects: () => {
|
||||||
return Promise.resolve([
|
return Promise.resolve([
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue