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
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:
@@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
import { useState, useEffect, useCallback, useRef } from 'react'
|
import { useState, useEffect, useCallback, useRef } from 'react'
|
||||||
import { PagePurpose } from '@/components/common/PagePurpose'
|
import { PagePurpose } from '@/components/common/PagePurpose'
|
||||||
import { AIToolsSidebarResponsive } from '@/components/ai/AIToolsSidebar'
|
|
||||||
|
|
||||||
const KLAUSUR_API = '/klausur-api'
|
const KLAUSUR_API = '/klausur-api'
|
||||||
|
|
||||||
@@ -271,7 +270,7 @@ export default function GroundTruthReviewPage() {
|
|||||||
: null
|
: null
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AIToolsSidebarResponsive>
|
<div className="space-y-6">
|
||||||
<div className="max-w-[1600px] mx-auto p-4 space-y-4">
|
<div className="max-w-[1600px] mx-auto p-4 space-y-4">
|
||||||
<PagePurpose
|
<PagePurpose
|
||||||
title="Ground Truth Review"
|
title="Ground Truth Review"
|
||||||
@@ -588,6 +587,6 @@ export default function GroundTruthReviewPage() {
|
|||||||
</details>
|
</details>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</AIToolsSidebarResponsive>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
import { useState, useEffect, useCallback } from 'react'
|
import { useState, useEffect, useCallback } from 'react'
|
||||||
import { PagePurpose } from '@/components/common/PagePurpose'
|
import { PagePurpose } from '@/components/common/PagePurpose'
|
||||||
import { AIToolsSidebarResponsive } from '@/components/ai/AIToolsSidebar'
|
|
||||||
|
|
||||||
const KLAUSUR_API = '/klausur-api'
|
const KLAUSUR_API = '/klausur-api'
|
||||||
|
|
||||||
@@ -165,7 +164,7 @@ export default function OCRRegressionPage() {
|
|||||||
const totalError = results.filter(r => r.status === 'error').length
|
const totalError = results.filter(r => r.status === 'error').length
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AIToolsSidebarResponsive>
|
<div className="space-y-6">
|
||||||
<div className="max-w-7xl mx-auto p-6 space-y-6">
|
<div className="max-w-7xl mx-auto p-6 space-y-6">
|
||||||
<PagePurpose
|
<PagePurpose
|
||||||
title="OCR Regression Tests"
|
title="OCR Regression Tests"
|
||||||
@@ -399,6 +398,6 @@ export default function OCRRegressionPage() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</AIToolsSidebarResponsive>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user