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:
parent
d71646a60d
commit
277471cd16
@ -49,7 +49,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