Skip to content

Commit

Permalink
updated pdp added api
Browse files Browse the repository at this point in the history
  • Loading branch information
KostiantynFandeliuk committed Feb 26, 2025
1 parent 3e0df52 commit e9d5531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/product-details/product-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export default async function decorate(block) {
events.on(
// @ts-ignore
"cart/data",
(payload: any) => {
(payload) => {
const { items } = payload;
const dropinCartData = items.find(
(el) => el.sku === values.sku
Expand Down

0 comments on commit e9d5531

Please sign in to comment.