Fix: Wrap ternary else-branch in Fragment for SelectedImage

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-04-28 08:37:57 +02:00
parent fc2fe98bd9
commit bf2f7daaeb

View File

@@ -172,6 +172,7 @@ export default function MatchPage() {
</div> </div>
</div> </div>
) : ( ) : (
<>
<div className="grid grid-cols-2 gap-4"> <div className="grid grid-cols-2 gap-4">
{/* Left: English */} {/* Left: English */}
<div className="space-y-2"> <div className="space-y-2">
@@ -212,6 +213,7 @@ export default function MatchPage() {
{/* Image preview for selected word */} {/* Image preview for selected word */}
<SelectedImage items={roundItems} selectedId={selectedLeft} isDark={isDark} /> <SelectedImage items={roundItems} selectedId={selectedLeft} isDark={isDark} />
</>
)} )}
</ExerciseLayout> </ExerciseLayout>
) )