Skip to content

Commit

Permalink
remove additional unnecessary async/awaits
Browse files Browse the repository at this point in the history
  • Loading branch information
elan-tbx committed Aug 23, 2024
1 parent 546d30a commit 51dba5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/blocks/aside/aside.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,10 @@ function decorateLayout(el) {
return foreground;
}

export default async function init(el) {
export default function init(el) {
el.classList.add('con-block');
const blockData = getBlockData(el);
const blockText = await decorateLayout(el);
const blockText = decorateLayout(el);
decorateBlockText(blockText, blockData);
decorateStaticLinks(el);
formatPromoButton(el);
Expand Down

0 comments on commit 51dba5e

Please sign in to comment.