fix: remove AIToolsSidebarResponsive wrapper from ground-truth and regression pages
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 25s
CI / test-python-klausur (push) Failing after 2m0s
CI / test-python-agent-core (push) Successful in 16s
CI / test-nodejs-website (push) Successful in 17s

AIToolsSidebarResponsive does not accept children — it renders only a
sidebar nav. Using it as a wrapper caused page content to never render.
Replaced with plain div, matching the pattern used by ocr-pipeline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-23 09:57:52 +01:00
parent be7f5f1872
commit dccbb909bc
2 changed files with 4 additions and 6 deletions

View File

@@ -15,7 +15,6 @@
import { useState, useEffect, useCallback, useRef } from 'react'
import { PagePurpose } from '@/components/common/PagePurpose'
import { AIToolsSidebarResponsive } from '@/components/ai/AIToolsSidebar'
const KLAUSUR_API = '/klausur-api'
@@ -271,7 +270,7 @@ export default function GroundTruthReviewPage() {
: null
return (
<AIToolsSidebarResponsive>
<div className="space-y-6">
<div className="max-w-[1600px] mx-auto p-4 space-y-4">
<PagePurpose
title="Ground Truth Review"
@@ -588,6 +587,6 @@ export default function GroundTruthReviewPage() {
</details>
)}
</div>
</AIToolsSidebarResponsive>
</div>
)
}

View File

@@ -9,7 +9,6 @@
import { useState, useEffect, useCallback } from 'react'
import { PagePurpose } from '@/components/common/PagePurpose'
import { AIToolsSidebarResponsive } from '@/components/ai/AIToolsSidebar'
const KLAUSUR_API = '/klausur-api'
@@ -165,7 +164,7 @@ export default function OCRRegressionPage() {
const totalError = results.filter(r => r.status === 'error').length
return (
<AIToolsSidebarResponsive>
<div className="space-y-6">
<div className="max-w-7xl mx-auto p-6 space-y-6">
<PagePurpose
title="OCR Regression Tests"
@@ -399,6 +398,6 @@ export default function OCRRegressionPage() {
</div>
)}
</div>
</AIToolsSidebarResponsive>
</div>
)
}