build fix

This commit is contained in:
2022-04-07 08:11:40 +01:00
parent 1410b0bf13
commit d63d87aa3e
6 changed files with 114 additions and 80 deletions
+2 -3
View File
@@ -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