4
0
forked from crowetic/commerce

Update next.config.js filter (#329)

Its a little more explicit using boolean than x => x
This commit is contained in:
Gonzalo Pozzo 2021-05-31 23:32:10 -03:00 committed by GitHub
parent d71646a60d
commit 277471cd16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ module.exports = withCommerceConfig({
source: '/search/:category',
destination: '/search',
},
].filter((x) => x)
].filter(Boolean)
},
})