/**
 * Feedback survey component — stub. Sandcode has no first-party survey
 * pipeline; the REPL's optional survey just doesn't render.
 */
import * as React from 'react'

type Props = {
  onDone?: () => void
  surveyType?: string
  [k: string]: unknown
}

export function FeedbackSurvey({ onDone }: Props): React.ReactNode {
  React.useEffect(() => {
    onDone?.()
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, [])
  return null
}
