'use client'

import { StepDewarp as BaseStepDewarp } from '@/components/ocr-pipeline/StepDewarp'

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

/** Thin wrapper around the shared StepDewarp component */
export function StepDewarp({ sessionId, onNext }: StepDewarpProps) {
  return <BaseStepDewarp key={sessionId} sessionId={sessionId} onNext={onNext} />
}
