mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31:22 +00:00
Update next.config.js filter
Its a little more explicit using boolean than x => x
This commit is contained in:
parent
8fb6c7b206
commit
e966c183bc
@ -41,7 +41,7 @@ module.exports = withCommerceConfig({
|
|||||||
source: '/search/:category',
|
source: '/search/:category',
|
||||||
destination: '/search',
|
destination: '/search',
|
||||||
},
|
},
|
||||||
].filter((x) => x)
|
].filter(Boolean)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user