Skip to content

Commit

Permalink
After click on checkbox moving page one pixel on register page #1824
Browse files Browse the repository at this point in the history
  • Loading branch information
iliyan90 committed May 30, 2024
1 parent 263f226 commit 5133203
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/common/form/CheckboxField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ export default function CheckboxField({
}
/>
</Tooltip>
{Boolean(meta.error) && <FormHelperText error>{helperText}</FormHelperText>}
{Boolean(meta.error) && (
<FormHelperText sx={{ marginTop: 0 }} error>
{helperText}
</FormHelperText>
)}
</FormControl>
)
}

0 comments on commit 5133203

Please sign in to comment.