Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: enable react strict mode (#1125)

Himself65736fbff41ac0
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 7527df93a2..fccf586828 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -37,7 +37,7 @@ const getRedirectConfig = profile => {
/** @type {import('next').NextConfig} */
const nextConfig = {
productionBrowserSourceMaps: true,
- reactStrictMode: false,
+ reactStrictMode: true,
swcMinify: false,
publicRuntimeConfig: {
NODE_ENV: process.env.NODE_ENV,