build fix
This commit is contained in:
@@ -73,10 +73,9 @@ export function Textfield(props) {
|
||||
hint,
|
||||
} = props;
|
||||
const required = (value) => (value ? undefined : "Required");
|
||||
let { t } = useTranslation();
|
||||
|
||||
if (name == "pinswg_name") {
|
||||
let { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="govuk-form-group">
|
||||
@@ -676,7 +675,7 @@ const RenderRadio = ({
|
||||
>
|
||||
{" "}
|
||||
{custom.hint != false && (
|
||||
<div class="govuk-hint">{t(custom.hint)}</div>
|
||||
<div className="govuk-hint">{t(custom.hint)}</div>
|
||||
)}
|
||||
{Object.keys(options).map((key, index) => (
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user