Skip to content

Commit

Permalink
fix: cr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
KornelKwiatkowski committed Nov 28, 2023
1 parent c99f733 commit 8667f88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -70,9 +70,9 @@ export const useVerifiedTableColumns = (): ColumnDef<
id: 'reputation',
header: () => formatText({ id: 'verifiedPage.table.reputation' }),
cell: ({ row }) => (
<div className="hidden sm:flex items-center justify-end w-full">
<Icon name="star" appearance={{ size: 'small' }} />
<span className="ml-1 text-sm text-gray-600">
<div className="hidden sm:flex items-center justify-end w-full text-gray-600">
<Star size={18} />
<span className="ml-1 text-sm">
{Number.isInteger(row.original.colonyReputationPercentage)
? row.original.colonyReputationPercentage
: row.original.colonyReputationPercentage.toFixed(2)}
Expand Down Expand Up @@ -100,7 +100,7 @@ export const useVerifiedTableColumns = (): ColumnDef<
aria-label={formatText({ id: 'ariaLabel.deleteMember' })}
onClick={onDeleteClick}
>
<Icon name="trash" appearance={{ size: 'small' }} />
<Trash size={18} />
</button>
</div>
),
Expand Down
5 changes: 0 additions & 5 deletions src/components/v5/shared/CardWithBios/CardWithBios.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ const CardWithBios: FC<CardWithBiosProps> = ({
avatarSize="sm"
isContributorsList={isContributorsList}
/>
{isVerified && (
<span className="ml-1 flex shrink-0 text-blue-400">
<Icon name="verified" appearance={{ size: 'tiny' }} />
</span>
)}
</div>

<div className="flex gap-2">
Expand Down

0 comments on commit 8667f88

Please sign in to comment.