chore: enable react strict mode (#1125)

This commit is contained in:
Himself65 2023-02-19 01:41:00 -06:00 committed by GitHub
parent b1298c4d3e
commit 736fbff41a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,