Skip to content

Commit

Permalink
Merge pull request #759 from Loa212/758
Browse files Browse the repository at this point in the history
Remove CW20 tags from assets page (frontier) #758
  • Loading branch information
jonator authored Aug 30, 2022
2 parents 581eb23 + fe1cba7 commit c1bbb63
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion packages/web/components/table/assets-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ export const AssetsTable: FunctionComponent<Props> = ({
value && value.toDec().gt(new Dec(0))
? value?.toDec().toString()
: "0",
isCW20,
queryTags: [
...(isCW20 ? ["CW20"] : []),
...(pegMechanism ? ["stable", pegMechanism] : []),
Expand Down
6 changes: 0 additions & 6 deletions packages/web/components/table/cells/asset-name.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const AssetNameCell: FunctionComponent<Partial<Cell>> = ({
coinDenom,
chainName,
coinImageUrl,
isCW20 = false,
isUnstable,
}) =>
coinDenom ? (
Expand All @@ -21,11 +20,6 @@ export const AssetNameCell: FunctionComponent<Partial<Cell>> = ({
<div className="flex flex-col place-content-center">
<div className="flex">
<span className="subtitle1 text-white-high">{coinDenom}</span>
{isCW20 && (
<div className="ml-2 px-2 py-1 rounded-full font-title text-xs bg-primary-200">
CW20
</div>
)}
</div>
{chainName && (
<span className="body2 text-iconDefault">{chainName}</span>
Expand Down
1 change: 0 additions & 1 deletion packages/web/components/table/cells/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export type AssetCell = BaseCell & {
coinImageUrl?: string;
amount: string;
fiatValue?: string;
isCW20: boolean;
/** Used by `useFilteredData` to provide user query terms to help users find this cell in the table.
* Be sure to add `"queryTags"` to the keys param.
*/
Expand Down

2 comments on commit c1bbb63

@vercel
Copy link

@vercel vercel bot commented on c1bbb63 Aug 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on c1bbb63 Aug 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.