Skip to content

Commit

Permalink
fix: incorrect cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
alecdwm committed Jan 5, 2025
1 parent 859eead commit 72ea5fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const Table = (props: PropsWithChildren) => (

const AccountItem = (props: { account: Account }) => (
<ListItem
css={{ padding: 0, cursor: 'copy' }}
css={{ padding: 0, cursor: 'pointer' }}
leadingContent={<AccountIcon account={props.account} size="3.2rem" />}
headlineContent={props.account.name ?? truncateAddress(props.account.address)}
supportingContent={props.account.name !== undefined && truncateAddress(props.account.address)}
Expand Down Expand Up @@ -90,7 +90,7 @@ export const ExtrinsicDetailsSideSheet = (props: ExtrinsicDetailsSideSheetProps)
<DescriptionList.Description>
<DescriptionList.Term>Extrinsic hash</DescriptionList.Term>
<DescriptionList.Details
css={{ cursor: 'copy' }}
css={{ cursor: 'pointer' }}
onClick={() => {
void copyExtrinsicHashToClipboard(props.hash)
}}
Expand All @@ -112,7 +112,7 @@ export const ExtrinsicDetailsSideSheet = (props: ExtrinsicDetailsSideSheetProps)
<DescriptionList.Description>
<DescriptionList.Term>Signer</DescriptionList.Term>
<DescriptionList.Details
css={{ cursor: 'copy' }}
css={{ cursor: 'pointer' }}
onClick={() => {
if (props.signer !== undefined) {
void copyAddressToClipboard(props.signer.address)
Expand Down
4 changes: 2 additions & 2 deletions apps/portal/src/components/widgets/AccountsManagementMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const AccountsManagementMenu = Object.assign(
event.stopPropagation()
void copyAddressToClipboard(x.address)
}}
css={{ cursor: 'copy' }}
css={{ cursor: 'pointer' }}
>
<Copy />
</SurfaceIcon>
Expand Down Expand Up @@ -261,7 +261,7 @@ export const AccountsManagementMenu = Object.assign(
event.stopPropagation()
void copyAddressToClipboard(account.address)
}}
css={{ cursor: 'copy' }}
css={{ cursor: 'pointer' }}
>
<Copy />
</SurfaceIcon>
Expand Down

0 comments on commit 72ea5fd

Please sign in to comment.