fix(client): runtime error with icons/space component (#42665)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
This commit is contained in:
@ -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 (
|
||||
|
Reference in New Issue
Block a user