diff --git a/src/ui/pages/Error/Error.tsx b/src/ui/pages/Error/Error.tsx index c2af9b92..625b92bf 100644 --- a/src/ui/pages/Error/Error.tsx +++ b/src/ui/pages/Error/Error.tsx @@ -16,10 +16,9 @@ export function ErrorPage() { if (isRouteErrorResponse(error)) { return ( ) } - return + return } diff --git a/src/ui/pages/review/Review.tsx b/src/ui/pages/review/Review.tsx index 05cb9a7e..306883b8 100644 --- a/src/ui/pages/review/Review.tsx +++ b/src/ui/pages/review/Review.tsx @@ -1,6 +1,7 @@ import { useState } from 'react' import { useCore } from '@/core' +import type { SurveyUnit } from '@/core/model' import { useTranslation } from '@/i18n' import { Modal } from '@/ui/components/Modal' import { Orchestrator } from '@/ui/components/orchestrator/Orchestrator' @@ -17,7 +18,7 @@ export function Review() { const getReferentiel = reviewSurvey.getReferentiel - const onQuit = () => { + const onQuit = (_surveyUnit: SurveyUnit) => { setIsQuitModalOpen(true) }