mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Update next.config.js filter (#329)
Its a little more explicit using boolean than x => x
This commit is contained in:
@@ -49,7 +49,7 @@ module.exports = withCommerceConfig({
|
||||
source: '/search/:category',
|
||||
destination: '/search',
|
||||
},
|
||||
].filter((x) => x)
|
||||
].filter(Boolean)
|
||||
},
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user