'use client'

import { StepOrientation as BaseStepOrientation } from '@/components/ocr-pipeline/StepOrientation'

interface StepOrientationProps {
  sessionId: string | null
  onNext: () => void
  onSessionList: () => void
}

/** Thin wrapper — adapts the shared StepOrientation to the Kombi pipeline's simpler onNext() */
export function StepOrientation({ sessionId, onNext, onSessionList }: StepOrientationProps) {
  return (
    <BaseStepOrientation
      key={sessionId}
      sessionId={sessionId}
      onNext={() => onNext()}
      onSessionList={onSessionList}
    />
  )
}
