Skip to content

Commit f6ab475

Browse files
fix: linting
1 parent 6235034 commit f6ab475

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

core/modules/catalog/events.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,14 @@ export const filterChangedProduct = async (filterOption, store, router) => {
5656
EventBus.$emit('product-after-configure', { product: newProductConfiguration, configuration: configuration, selectedVariant: selectedVariant })
5757
routeProp = config.seo.useUrlDispatcher ? 'query' : 'params'
5858
if (router?.currentRoute?.[routeProp]?.childSku) {
59-
router.push({ [routeProp]: {
60-
...router.currentRoute[routeProp],
61-
childSku: selectedVariant.sku
62-
}
63-
})
59+
router.push(
60+
{
61+
[routeProp]: {
62+
...router.currentRoute[routeProp],
63+
childSku: selectedVariant.sku
64+
}
65+
}
66+
)
6467
}
6568
return selectedVariant
6669
} else {

0 commit comments

Comments
 (0)