Fixed linebreak
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-11-15 16:54:34 +01:00
parent 79f0427288
commit 0466af0637
3 changed files with 9 additions and 7 deletions

View File

@@ -4,11 +4,11 @@ const runtimeCaching = require("next-pwa/cache");
const { PHASE_DEVELOPMENT_SERVER } = require("next/constants");
module.exports = (phase, { defaultConfig }) => {
// if (phase === PHASE_DEVELOPMENT_SERVER) {
// return {
// reactStrictMode: true,
// };
// }
if (phase === PHASE_DEVELOPMENT_SERVER) {
return {
reactStrictMode: true,
};
}
return withPWA({
reactStrictMode: true,