diff --git a/web/components/choices-toggle-group.tsx b/web/components/choices-toggle-group.tsx index d56eabbc..d2f80d14 100644 --- a/web/components/choices-toggle-group.tsx +++ b/web/components/choices-toggle-group.tsx @@ -4,7 +4,7 @@ import clsx from 'clsx' export function ChoicesToggleGroup(props: { currentChoice: number | string setChoice: (p: any) => void //number | string does not work here because of SetStateAction in .tsx - choices: number[] | string[] + choices: (number | string)[] titles: string[] isSubmitting?: boolean }) {