diff --git a/app/ui/lib/FieldLabel.tsx b/app/ui/lib/FieldLabel.tsx index 1c350b460..5fb298051 100644 --- a/app/ui/lib/FieldLabel.tsx +++ b/app/ui/lib/FieldLabel.tsx @@ -17,7 +17,6 @@ interface FieldLabelProps { tip?: string optional?: boolean className?: string - hideOptionalTag?: boolean } export const FieldLabel = ({ @@ -28,14 +27,13 @@ export const FieldLabel = ({ optional, as, className, - hideOptionalTag, }: PropsWithChildren) => { const Component = as || 'label' return (
{children} - {optional && !hideOptionalTag && ( + {optional && ( // Announcing this optional text is unnecessary as the required attribute on the // form will be used