Skip to content

Commit

Permalink
[docs] Run in StrictMode by default (#27693)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Aug 17, 2021
1 parent a192367 commit 666e47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { LANGUAGES, LANGUAGES_SSR } = require('./src/modules/constants');

const workspaceRoot = path.join(__dirname, '../');

const reactStrictMode = false;
const reactStrictMode = true;
if (reactStrictMode) {
// eslint-disable-next-line no-console
console.log(`Using React.StrictMode.`);
Expand Down

0 comments on commit 666e47d

Please sign in to comment.