fix(client): runtime error with icons/space component (#42665)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>pull/42624/head
parent
61d1020dd7
commit
b334031b2f
|
@ -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>
|
||||
|
|
|
@ -32,6 +32,7 @@ export default function ToggleButton({
|
|||
}: ButtonProps): JSX.Element {
|
||||
const checkIconStyle = {
|
||||
height: '15px',
|
||||
paddingTop: '5',
|
||||
width: '20px'
|
||||
};
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue