diff --git a/docs/demo-index.js b/docs/demo-index.js index e923a763..ebca9edf 100644 --- a/docs/demo-index.js +++ b/docs/demo-index.js @@ -278,8 +278,8 @@ generateButton.addEventListener("click", async function () { isGenerateData = true; await createTransactionCards(); }); -validateButton.addEventListener("click", await validateTransactions); -cleanupButton.addEventListener("click", await cleanupTransactions); +validateButton.addEventListener("click", await validateTransactions()); +cleanupButton.addEventListener("click", await cleanupTransactions()); createValidationRules(); await createTransactionCards();