Remove persisted query on return to parent product from variation (#36365)
* Remove persisted query on return to parent product from variation * Add changelog entry
This commit is contained in:
parent
54c0acf8cd
commit
ad59769f25
|
@ -29,7 +29,11 @@ export default function useProductVariationNavigation( {
|
|||
const persistedQuery = getPersistedQuery();
|
||||
|
||||
return {
|
||||
actionHref: getNewPath( persistedQuery, `/product/${ product.id }` ),
|
||||
actionHref: getNewPath(
|
||||
persistedQuery,
|
||||
`/product/${ product.id }`,
|
||||
{}
|
||||
),
|
||||
prevHref: prevVariationId
|
||||
? getNewPath(
|
||||
persistedQuery,
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: fix
|
||||
|
||||
Remove persisted query on return to parent product from variation
|
Loading…
Reference in New Issue