diff --git a/frontend/src/Hero.tsx b/frontend/src/Hero.tsx index 69bf23ac..f138ec4f 100644 --- a/frontend/src/Hero.tsx +++ b/frontend/src/Hero.tsx @@ -4,7 +4,13 @@ import { useTranslation } from 'react-i18next'; export default function Hero({ handleQuestion, }: { - handleQuestion: (question: string) => void; + handleQuestion: ({ + question, + isRetry, + }: { + question: string; + isRetry?: boolean; + }) => void; }) { const { t } = useTranslation(); const demos = t('demo', { returnObjects: true }) as Array<{ @@ -30,7 +36,7 @@ export default function Hero({ demo.query && (