fix: JSX syntax — IIFE wrapping for vocabulary tab
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 25s
CI / test-go-edu-search (push) Successful in 24s
CI / test-python-klausur (push) Failing after 1m51s
CI / test-python-agent-core (push) Successful in 16s
CI / test-nodejs-website (push) Successful in 18s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-05 17:01:33 +01:00
parent 24366880ad
commit 2ec4d8aabd

View File

@@ -1479,8 +1479,7 @@ export default function VocabWorksheetPage() {
)}
{/* Vocabulary Tab */}
{session && activeTab === 'vocabulary' && (
{(() => {
{session && activeTab === 'vocabulary' && (() => {
const extras = getAllExtraColumns()
const baseCols = 3 + extras.length // english, german, example + extras
const gridCols = `14px 32px 36px repeat(${baseCols}, 1fr) 32px`
@@ -1745,7 +1744,6 @@ export default function VocabWorksheetPage() {
</div>
)
})()}
)}
{/* Worksheet Tab */}
{session && activeTab === 'worksheet' && (