Revert "Wrap text with span for resilience for DOM mutations by google translate"
This reverts commit e87ef2452e.
This commit is contained in:
parent
e87ef2452e
commit
2a868c89a6
|
|
@ -405,7 +405,7 @@ const getTextContent = (props: ButtonProps) =>
|
|||
const getButtonContent = (props: ButtonProps) => (
|
||||
<>
|
||||
{getIconContent(props)}
|
||||
<span>{getTextContent(props)}</span>
|
||||
{getTextContent(props)}
|
||||
{props.isLoading ? <Spinner size={IconSizeProp(props.size)} /> : null}
|
||||
</>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user