diff --git a/next.config.js b/next.config.js index 9d6a29ba1..b1e48cf1e 100644 --- a/next.config.js +++ b/next.config.js @@ -49,7 +49,7 @@ module.exports = withCommerceConfig({ source: '/search/:category', destination: '/search', }, - ].filter((x) => x) + ].filter(Boolean) }, })