Skip to content

Commit

Permalink
nit adding hypens
Browse files Browse the repository at this point in the history
  • Loading branch information
seanchoi-dev committed Jan 22, 2025
1 parent b5b50ad commit 33c19f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/merch-card/merch-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ export default async function init(el) {
ctaLink.addEventListener('mas:resolved', async () => {
const productName = ctaLink.value[0]?.productArrangement?.productFamily;
if (productName) {
await replaceKey(productName, getConfig()).then((label) => ctaLink.setAttribute('aria-label', `${ctaLink.textContent} ${label} ${merchCard.querySelector('.card-heading')?.textContent}`));
await replaceKey(productName, getConfig()).then((label) => ctaLink.setAttribute('aria-label', `${ctaLink.textContent} - ${label} - ${merchCard.querySelector('.card-heading')?.textContent}`));
}
});
}
Expand Down

0 comments on commit 33c19f8

Please sign in to comment.