fix(client): runtime error with icons/space component (#42665)

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
pull/42624/head
Tom 2021-06-29 05:02:49 -05:00 committed by Mrugesh Mohapatra
parent 61d1020dd7
commit b334031b2f
No known key found for this signature in database
GPG Key ID: 68BDF41E23F50DD8
2 changed files with 1 additions and 2 deletions

View File

@ -8,8 +8,6 @@ interface SpacerPropTypes {
function Spacer(props: SpacerPropTypes): JSX.Element {
const { t } = useTranslation();
props.style = { paddingTop: '5', ...props.style };
return (
<Fragment>
<span className='sr-only'>{t('icons.spacer')}</span>

View File

@ -32,6 +32,7 @@ export default function ToggleButton({
}: ButtonProps): JSX.Element {
const checkIconStyle = {
height: '15px',
paddingTop: '5',
width: '20px'
};
return (