mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-24 21:14:33 +03:00
chore: enable react strict mode (#1125)
This commit is contained in:
parent
b1298c4d3e
commit
736fbff41a
@ -37,7 +37,7 @@ const getRedirectConfig = profile => {
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
productionBrowserSourceMaps: true,
|
productionBrowserSourceMaps: true,
|
||||||
reactStrictMode: false,
|
reactStrictMode: true,
|
||||||
swcMinify: false,
|
swcMinify: false,
|
||||||
publicRuntimeConfig: {
|
publicRuntimeConfig: {
|
||||||
NODE_ENV: process.env.NODE_ENV,
|
NODE_ENV: process.env.NODE_ENV,
|
||||||
|
Loading…
Reference in New Issue
Block a user