[bug]: PDP add to cart action will refetch the query getProductDetailForProductPage #4288
Open
Description
Describe the bug
as the title, when we click add to cart on PDP, after added the PDP will re-render, don't know why
To reproduce
Steps to reproduce the behavior:
- Go to 'PDP'
- Open the network tab of your browser
- Click on 'Add to cart'
- See the query
getProductDetailForProductPage
re-call
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
video screenshot
Screencast from 02-07-2024 14:39:06.webm
Possible solutions
Add any ideas about possible solutions to the problem here.
Debug Report
Paste the output of yarn build:report
, and any other context about the problem, here.
Please complete the following device information:
- Device [e.g. iPhone6, PC, Mac, Pixel3]:
- Browser [e.g. Chrome, Safari]:
- Browser Version [e.g. 22]:
- Magento Version [e.g Adobe Commerce 2.4]:
Please let us know what packages this bug is in regards to:
-
venia-concept
-
venia-ui
-
pwa-buildpack
-
peregrine
-
pwa-devdocs
-
upward-js
-
upward-spec
-
create-pwa