diff --git a/src/components/ConnectButton.tsx b/src/components/ConnectButton.tsx index c1f0b45f0..e49917865 100644 --- a/src/components/ConnectButton.tsx +++ b/src/components/ConnectButton.tsx @@ -153,7 +153,7 @@ const HeaderProfile = ({ address }: { address: Address }) => { ), as: 'a' as 'a', color: 'text', - icon: , + icon: PersonSVG, }, ] : []), @@ -166,7 +166,7 @@ const HeaderProfile = ({ address }: { address: Address }) => { ), as: 'a', - icon: , + icon: CogSVG, showIndicator: hasPendingTransactions, }, , @@ -174,13 +174,13 @@ const HeaderProfile = ({ address }: { address: Address }) => { label: shortenAddress(address), color: 'text', onClick: () => copy(address), - icon: copied ? : , + icon: copied ? CheckSVG : CopySVG, }, { label: t('wallet.disconnect'), color: 'red', onClick: () => disconnect(), - icon: , + icon: ExitSVG, }, ] as DropdownItem[] } @@ -188,7 +188,6 @@ const HeaderProfile = ({ address }: { address: Address }) => { src: avatar || zorb, decoding: 'sync', loading: 'eager', - noBorder: true, overlay: avatar ? undefined : ( diff --git a/src/components/pages/profile/ProfileButton.tsx b/src/components/pages/profile/ProfileButton.tsx index 5cac0e0b0..8be85288b 100644 --- a/src/components/pages/profile/ProfileButton.tsx +++ b/src/components/pages/profile/ProfileButton.tsx @@ -104,19 +104,19 @@ export const AddressProfileButton = ({ const items = [ iconKey === 'eth' ? { - icon: , + icon: UpRightArrowSVG, label: 'View address', href: getDestination(`/${address}`) as string, } : undefined, { - icon: , + icon: CopySVG, label: 'Copy address', onClick: () => copy(address), }, defaultBlockExplorer ? { - icon: , + icon: UpRightArrowSVG, label: `View on ${defaultBlockExplorer?.name}`, href: `${defaultBlockExplorer?.url}/address/${address}`, } @@ -128,7 +128,7 @@ export const AddressProfileButton = ({ } + icon={() => } value={address} size={breakpoints.sm ? 'large' : 'small'} inline @@ -324,14 +324,14 @@ export const OwnerProfileButton = ({ const items = [ link ? { - icon: , + icon: UpRightArrowSVG, label: 'View profile', href: link, } : undefined, primary.data?.name ? { - icon: , + icon: CopySVG, label: 'Copy name', onClick: () => copy(primary.data?.name!), } @@ -339,17 +339,17 @@ export const OwnerProfileButton = ({ ...(dataType === 'address' ? ([ { - icon: , + icon: UpRightArrowSVG, label: 'View address', href: getDestination(`/${addressOrNameOrDate}`) as string, }, { - icon: , + icon: CopySVG, label: 'Copy address', onClick: () => copy(addressOrNameOrDate), }, { - icon: , + icon: UpRightArrowSVG, label: 'View on Etherscan', href: makeEtherscanLink(addressOrNameOrDate, 'mainnet', 'address'), }, @@ -407,7 +407,7 @@ export const VerificationProfileButton = ({ tooltipContent={} > } + icon={() => } size={breakpoints.sm ? 'large' : 'small'} inline data-testid={`verification-profile-button-${iconKey}`} diff --git a/src/components/pages/profile/[name]/tabs/OwnershipTab/sections/RolesSection/components/RoleRow.tsx b/src/components/pages/profile/[name]/tabs/OwnershipTab/sections/RolesSection/components/RoleRow.tsx index fd84178a5..018f485ec 100644 --- a/src/components/pages/profile/[name]/tabs/OwnershipTab/sections/RolesSection/components/RoleRow.tsx +++ b/src/components/pages/profile/[name]/tabs/OwnershipTab/sections/RolesSection/components/RoleRow.tsx @@ -98,13 +98,13 @@ export const RoleRow = ({ name, address, roles, actions, isWrapped, isEmancipate label: t('wallet.viewProfile'), onClick: () => router.push(getDestination(`/profile/${primary.data!.name}`) as string), color: 'text', - icon: , + icon: UpRightArrowSVG, }, { label: t('name.copy'), onClick: () => copy(primary.data!.name!), color: 'text', - icon: , + icon: CopySVG, }, ] as DropdownItem[]) : []), @@ -112,13 +112,13 @@ export const RoleRow = ({ name, address, roles, actions, isWrapped, isEmancipate label: t('address.viewAddress'), onClick: () => router.push(getDestination(`/address/${address}`) as string), color: 'text', - icon: , + icon: UpRightArrowSVG, }, { label: t('address.copyAddress'), onClick: () => copy(address!), color: 'text', - icon: , + icon: CopySVG, }, ...(etherscanAction ? [etherscanAction] : []), ...(editRolesAction ? [editRolesAction] : []), diff --git a/src/components/pages/profile/[name]/tabs/OwnershipTab/sections/RolesSection/hooks/useRoleActions.tsx b/src/components/pages/profile/[name]/tabs/OwnershipTab/sections/RolesSection/hooks/useRoleActions.tsx index 9fcfffbd4..3a4b03f06 100644 --- a/src/components/pages/profile/[name]/tabs/OwnershipTab/sections/RolesSection/hooks/useRoleActions.tsx +++ b/src/components/pages/profile/[name]/tabs/OwnershipTab/sections/RolesSection/hooks/useRoleActions.tsx @@ -72,7 +72,7 @@ export const useRoleActions = ({ name, roles, details }: Props) => { showSendDNS ? { type: 'send-dns', - icon: , + icon: AeroplaneSVG, label: t('action.send'), error: canSendError, onClick: () => showSendNameInput(`send-name-${name}`, { name }), @@ -81,7 +81,7 @@ export const useRoleActions = ({ name, roles, details }: Props) => { canRefreshDNS ? { type: 'refresh-dns', - icon: , + icon: CounterClockwiseArrowSVG, label: t('dns.refresh'), onClick: () => queryClient.resetQueries({ exact: true, queryKey: ['getDNSOwner', name] }), @@ -90,7 +90,7 @@ export const useRoleActions = ({ name, roles, details }: Props) => { showSyncManager ? { type: 'sync-manager', - icon: , + icon: HorizontalOutwardArrowsSVG, label: t('transaction.description.syncManager'), onClick: () => showSyncManagerInput(`sync-manager-${name}`, { @@ -101,7 +101,7 @@ export const useRoleActions = ({ name, roles, details }: Props) => { showSendEth ? { type: 'send-name', - icon: , + icon: AeroplaneSVG, label: t('action.send'), error: canSendError, onClick: () => showSendNameInput(`send-name-${name}`, { name }), @@ -110,7 +110,7 @@ export const useRoleActions = ({ name, roles, details }: Props) => { canEditRoles ? { type: 'edit-roles', - icon: , + icon: PersonSVG, label: t('action.editRoles'), primary: true, onClick: () => showEditRolesInput(`edit-roles-${name}`, { name }), diff --git a/src/components/pages/profile/[name]/tabs/SubnamesTab.tsx b/src/components/pages/profile/[name]/tabs/SubnamesTab.tsx index 5e732d502..9d98927fe 100644 --- a/src/components/pages/profile/[name]/tabs/SubnamesTab.tsx +++ b/src/components/pages/profile/[name]/tabs/SubnamesTab.tsx @@ -216,7 +216,7 @@ export const SubnamesTab = ({ diff --git a/src/transaction-flow/input/ProfileEditor/components/ProfileBlurb.tsx b/src/transaction-flow/input/ProfileEditor/components/ProfileBlurb.tsx index 787c9129d..c0984756a 100644 --- a/src/transaction-flow/input/ProfileEditor/components/ProfileBlurb.tsx +++ b/src/transaction-flow/input/ProfileEditor/components/ProfileBlurb.tsx @@ -61,7 +61,7 @@ export const ProfileBlurb = ({ name, resolverAddress }: Props) => { return ( - + {name}