Skip to content

Commit

Permalink
Rollback experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferri0 committed Sep 24, 2024
1 parent b1e831c commit 3625e26
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions blocks/commerce-account-sidebar/commerce-account-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,8 @@ export default async function decorate(block) {
});

block.innerHTML = '';

return new Promise((resolve) => {
sidebarItems.forEach((el) => {
block.appendChild(el);
});
resolve();
sidebarItems.forEach((el) => {
block.appendChild(el);
});
}

Expand Down

0 comments on commit 3625e26

Please sign in to comment.