Skip to content

Commit

Permalink
Remove OptionGroup from EnumOption
Browse files Browse the repository at this point in the history
  • Loading branch information
wes-cutting committed Oct 19, 2023
1 parent d6a8607 commit f13a78f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export const ExplanationOfProgress: StepComponent = ({ report }) => {
label="Select a reason"
options={() =>

Check failure on line 172 in src/scenes/ProgressReports/EditForm/Steps/ExplanationOfProgress/ExplanationOfProgress.tsx

View workflow job for this annotation

GitHub Actions / run

Type '() => EmotionJSX.Element[]' is not assignable to type 'readonly string[]'.
optionsByGroup[group].map((reason) => (
<EnumOption<OptionGroup>
<EnumOption
name={reason}

Check failure on line 175 in src/scenes/ProgressReports/EditForm/Steps/ExplanationOfProgress/ExplanationOfProgress.tsx

View workflow job for this annotation

GitHub Actions / run

Type '{ name: string; variant: string; value: string; disabled: boolean; }' is not assignable to type 'IntrinsicAttributes & LibraryManagedAttributes<(<T extends string>(props: EnumOptionsProps<T> & { ref?: ForwardedRef<HTMLElement> | undefined; }) => ReactElement<...> | null), EnumOptionsProps<...> & { ...; }>'.
variant="radio"
value={reason}
Expand Down

0 comments on commit f13a78f

Please sign in to comment.