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