Skip to content

Commit

Permalink
remove extra await
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyundai committed Mar 31, 2024
1 parent 975586a commit e765f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/events-form/events-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ async function updateDynamicContent(bp) {
await decorateRSVPStatus(bp, profile);
}

await autoUpdateContent(block, { ...await caasApiMod.default(hash), ...profile });
autoUpdateContent(block, { ...await caasApiMod.default(hash), ...profile });
eventHero.classList.remove('loading');
personalizeForm(block, profile);
});
Expand Down

0 comments on commit e765f19

Please sign in to comment.