Skip to content

Commit

Permalink
Show anamoy pool after chain upgrade (#1648)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn authored Oct 19, 2023
1 parent 772aca2 commit 9415946
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions centrifuge-app/src/components/PoolList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,7 @@ export function PoolList() {
]

const pools = !!listedPools?.length
? [
...upcomingPools,
...poolsToPoolCardProps(listedPools, centPoolsMetaDataById, cent).map((pool) => {
if (pool.name?.includes('Anemoy Liquid Treasury Fund')) {
return {
...pool,
status: 'Upcoming' as PoolStatusKey,
apr: Rate.fromApr(0.05),
}
}

return pool
}),
].sort((a, b) => {
? [...upcomingPools, ...poolsToPoolCardProps(listedPools, centPoolsMetaDataById, cent)].sort((a, b) => {
if (a.status === 'Upcoming') {
return -1
}
Expand Down

0 comments on commit 9415946

Please sign in to comment.