diff --git a/services/frontend/src/components/global/FormElements/Toggle.tsx b/services/frontend/src/components/global/FormElements/Toggle.tsx index 6f70925..7c6691c 100644 --- a/services/frontend/src/components/global/FormElements/Toggle.tsx +++ b/services/frontend/src/components/global/FormElements/Toggle.tsx @@ -5,7 +5,7 @@ import { Button, styled } from "@mui/joy"; export interface IToggleProps { name: string; - label: string; + label?: string; help?: string; options: { text: string; @@ -65,7 +65,7 @@ const Toggle: FunctionComponent = ( return ( - + {label && } {options.map((option, index) => (