Skip to content

Commit

Permalink
Fix: Invalid DOM Nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
graphemecluster committed Jun 15, 2024
1 parent 67c9c79 commit 7a9082a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SentenceCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function SentenceCard({ sentence: { language, genre, sentence } }
<span className="badge badge-primary join-item">{TERMINOLOGY[language]}</span>
<span className="badge badge-secondary join-item">{TERMINOLOGY[genre]}</span>
</div>
<p className="text-2xl leading-6 sm:text-4xl mt-2 sm:mt-5">
<div className="text-2xl leading-6 sm:text-4xl mt-2 sm:mt-5">
{sentence.map(([char, pronNoteArray], i) => (
<Char
key={i}
Expand All @@ -27,7 +27,7 @@ export default function SentenceCard({ sentence: { language, genre, sentence } }
setSyllables(newSyllables);
}} />
))}
</p>
</div>
<AudioPlayer syllables={syllables} language={language} />
</div>
</div>;
Expand Down

0 comments on commit 7a9082a

Please sign in to comment.