Skip to content

Commit

Permalink
await loadIconography
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmparrish committed Aug 23, 2024
1 parent 17d4f6c commit 9bff24f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/blocks/hero-marquee/hero-marquee.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ async function decorateLockupFromContent(el) {
});
}

function decorateLockupRow(el, classes) {
async function decorateLockupRow(el, classes) {
const child = el.querySelector(':scope > div');
loadIconography();
await loadIconography();
child?.classList.add('lockup-area');
const iconSizeClass = classes?.find((c) => c.endsWith('-icon'));
if (iconSizeClass) el.classList.remove(iconSizeClass);
Expand Down

0 comments on commit 9bff24f

Please sign in to comment.