Skip to content

Commit

Permalink
fix(suite): Fix cursor in modal
Browse files Browse the repository at this point in the history
  • Loading branch information
jvaclavik committed Jun 20, 2024
1 parent 6d66639 commit 86194c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const CopyContractAddressModal = ({ contract, onCancel }: CopyContractAdd
<Button variant="destructive" onClick={onCopyContractAddress}>
<Translation id="TR_COPY_TO_CLIPBOARD" />
</Button>
<Button variant="secondary" onClick={onCancel}>
<Button variant="primary" onClick={onCancel}>
<Translation id="TR_CANCEL" />
</Button>
</>
Expand Down
2 changes: 1 addition & 1 deletion suite-common/icons/src/webComponents/Icon.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const Icon = ({

return (
<SVG
onClick={handleClick}
onClick={onClick ? handleClick : undefined}
tabIndex={onClick ? 0 : undefined}
onKeyDown={handleOnKeyDown}
src={icons[name]}
Expand Down

0 comments on commit 86194c9

Please sign in to comment.