'use client'

import { StepGridReview as BaseStepGridReview } from '@/components/ocr-pipeline/StepGridReview'
import type { MutableRefObject } from 'react'

interface StepGridReviewProps {
  sessionId: string | null
  onNext: () => void
  saveRef: MutableRefObject<(() => Promise<void>) | null>
}

/** Thin wrapper around the shared StepGridReview component */
export function StepGridReview({ sessionId, onNext, saveRef }: StepGridReviewProps) {
  return <BaseStepGridReview sessionId={sessionId} onNext={onNext} saveRef={saveRef} />
}
