Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser committed Oct 30, 2023
1 parent 076a915 commit 38f9ef2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 58 deletions.
9 changes: 1 addition & 8 deletions centrifuge-app/src/components/Portfolio/InvestedTokens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ const columns: Column[] = [
cell: (token: Row) => {
return <TokenWithIcon {...token} />
},
width: '250px',
width: '2fr',
},
{
align: 'left',
header: 'Token price',
cell: ({ tokenPrice }: Row) => {
return (
Expand All @@ -50,10 +49,8 @@ const columns: Column[] = [
</Text>
)
},
width: '150px',
},
{
align: 'right',
header: <SortableTableHeader label="Position" />,
cell: ({ currency, position }: Row) => {
return (
Expand All @@ -62,11 +59,9 @@ const columns: Column[] = [
</Text>
)
},
width: '125px',
sortKey: 'position',
},
{
align: 'right',
header: <SortableTableHeader label="Market value" />,
cell: ({ marketValue }: Row) => {
return (
Expand All @@ -75,7 +70,6 @@ const columns: Column[] = [
</Text>
)
},
width: '175px',
sortKey: 'marketValue',
},
{
Expand Down Expand Up @@ -110,7 +104,6 @@ const columns: Column[] = [
)
)
},
width: '325px',
},
]

Expand Down
50 changes: 0 additions & 50 deletions centrifuge-app/src/components/Portfolio/sortTokens.ts

This file was deleted.

0 comments on commit 38f9ef2

Please sign in to comment.