diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/components/RatingResponse.tsx b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/components/RatingResponse.tsx index 66afa8398f..bd1e70236b 100644 --- a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/components/RatingResponse.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/components/RatingResponse.tsx @@ -28,9 +28,9 @@ export const RatingResponse: React.FC = ({ scale, range, an const stars: any = []; for (let i = 0; i < range; i++) { if (i < parseInt(answer)) { - stars.push(); + stars.push(); } else { - stars.push(); + stars.push(); } } return
{stars}
; diff --git a/packages/surveys/src/components/BackButton.tsx b/packages/surveys/src/components/BackButton.tsx index 25181a5801..a031cb46bc 100644 --- a/packages/surveys/src/components/BackButton.tsx +++ b/packages/surveys/src/components/BackButton.tsx @@ -3,11 +3,13 @@ import { cn } from "../../../lib/cn"; interface BackButtonProps { onClick: () => void; backButtonLabel?: string; + tabIndex?: number; } -export function BackButton({ onClick, backButtonLabel }: BackButtonProps) { +export function BackButton({ onClick, backButtonLabel, tabIndex = 2 }: BackButtonProps) { return (