fix: replace <div> in the accordion menu with <span>
Some checks failed
Deploy Next.js application / deploy (push) Failing after 10m14s

This commit is contained in:
Dorian Niemiec 2024-11-25 06:26:20 +01:00
parent c6979c7c33
commit e66dfa2b11

View file

@ -25,7 +25,9 @@ function FAQ() {
); );
}} }}
> >
<div className="grow w-full text-start">{question.question}</div> <span className="grow w-full text-start">
{question.question}
</span>
<Plus <Plus
className={`${selectedAccordion == question.key ? "rotate-45" : ""} duration-300 transition-transform`} className={`${selectedAccordion == question.key ? "rotate-45" : ""} duration-300 transition-transform`}
/> />