1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Try disable swap button so it cannot be focused (#9602)

This commit is contained in:
David Walsh 2020-10-14 11:46:14 -05:00 committed by GitHub
parent d0152aad51
commit ec70f33eca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ export default function IconButton ({ onClick, Icon, disabled, label, tooltipRen
className={classNames('icon-button', className, { 'icon-button--disabled': disabled })} className={classNames('icon-button', className, { 'icon-button--disabled': disabled })}
data-testid={props['data-testid'] ?? undefined} data-testid={props['data-testid'] ?? undefined}
onClick={onClick} onClick={onClick}
disabled={disabled}
> >
{renderWrapper( {renderWrapper(
<> <>