From 1db476288c1aafe91fbff88f9b21429d8bbff68f Mon Sep 17 00:00:00 2001 From: Emil Ajdyna Date: Sun, 19 May 2024 09:17:18 +0200 Subject: [PATCH] Fix a typo --- test/components/accordion/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/components/accordion/index.js b/test/components/accordion/index.js index 08c65934..cd8ac51d 100644 --- a/test/components/accordion/index.js +++ b/test/components/accordion/index.js @@ -16,7 +16,7 @@ module.exports = component( accordions.forEach(accordion => { accordion.addEventListener('click', function () { const sibling = this.nextElement - sibling.classList.toggle('${styles.content}') + sibling.classList.toggle('${styles.hidden}') }) }) `,