From e966c183bc439df3014ac69914dca3748091ec72 Mon Sep 17 00:00:00 2001 From: Gonzalo Pozzo Date: Wed, 26 May 2021 15:59:42 -0700 Subject: [PATCH] Update next.config.js filter 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 e17d3e5c4..7240d110a 100644 --- a/next.config.js +++ b/next.config.js @@ -41,7 +41,7 @@ module.exports = withCommerceConfig({ source: '/search/:category', destination: '/search', }, - ].filter((x) => x) + ].filter(Boolean) }, })