From 277471cd169169ecbabd9b0aa58922c0edca1182 Mon Sep 17 00:00:00 2001 From: Gonzalo Pozzo Date: Mon, 31 May 2021 23:32:10 -0300 Subject: [PATCH] Update next.config.js filter (#329) Its a little more explicit using boolean than x => x --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }, })