From 8667f88390da835e08e4e4e1588606d9d39db7d8 Mon Sep 17 00:00:00 2001 From: KornelKwiatkowski Date: Sun, 26 Nov 2023 19:02:13 +0100 Subject: [PATCH] fix: cr feedback --- .../VerifiedPage/partials/VerifiedTable/hooks.tsx | 10 +++++----- src/components/v5/shared/CardWithBios/CardWithBios.tsx | 5 ----- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/components/frame/v5/pages/VerifiedPage/partials/VerifiedTable/hooks.tsx b/src/components/frame/v5/pages/VerifiedPage/partials/VerifiedTable/hooks.tsx index 1f2d19ec79..48b23f7b93 100644 --- a/src/components/frame/v5/pages/VerifiedPage/partials/VerifiedTable/hooks.tsx +++ b/src/components/frame/v5/pages/VerifiedPage/partials/VerifiedTable/hooks.tsx @@ -1,7 +1,7 @@ import { ColumnDef, createColumnHelper } from '@tanstack/react-table'; import React, { useMemo } from 'react'; +import { Star, Trash } from 'phosphor-react'; import { formatText } from '~utils/intl'; -import Icon from '~shared/Icon'; import { ColonyContributorFragment } from '~gql'; import MemberAvatar from '../MemberAvatar'; import Checkbox from '~v5/common/Checkbox'; @@ -70,9 +70,9 @@ export const useVerifiedTableColumns = (): ColumnDef< id: 'reputation', header: () => formatText({ id: 'verifiedPage.table.reputation' }), cell: ({ row }) => ( -
- - +
+ + {Number.isInteger(row.original.colonyReputationPercentage) ? row.original.colonyReputationPercentage : row.original.colonyReputationPercentage.toFixed(2)} @@ -100,7 +100,7 @@ export const useVerifiedTableColumns = (): ColumnDef< aria-label={formatText({ id: 'ariaLabel.deleteMember' })} onClick={onDeleteClick} > - +
), diff --git a/src/components/v5/shared/CardWithBios/CardWithBios.tsx b/src/components/v5/shared/CardWithBios/CardWithBios.tsx index e847ea6c09..a8303cfe8d 100644 --- a/src/components/v5/shared/CardWithBios/CardWithBios.tsx +++ b/src/components/v5/shared/CardWithBios/CardWithBios.tsx @@ -62,11 +62,6 @@ const CardWithBios: FC = ({ avatarSize="sm" isContributorsList={isContributorsList} /> - {isVerified && ( - - - - )}