Skip to content

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn committed Aug 29, 2023
1 parent f7b0b3d commit 3db25b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion centrifuge-app/src/components/PoolFilter/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export function filterPools(pools: PoolCardProps[], searchParams: URLSearchParam
filtered = filtered.filter(
(pool) => pool.status && (poolStatuses.size ? poolStatuses.has(toKebabCase(pool.status)) : pool.status !== 'Closed')
)
console.log('filtered', filtered)

if (assetClasses.size) {
filtered = filtered.filter((pool) => pool.assetClass && assetClasses.has(toKebabCase(pool.assetClass)))
Expand Down
5 changes: 1 addition & 4 deletions centrifuge-app/src/pages/Pools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ export function PoolsPage() {
function Pools() {
const cent = useCentrifuge()
const { search } = useLocation()
const [listedPools, listedTokens, metadataIsLoading] = useListedPools()
console.log('listedPools', listedPools)
const [listedPools, _listedTokens, metadataIsLoading] = useListedPools()

const centPools = listedPools.filter(({ id }) => !id.startsWith('0x')) as Pool[]
const centPoolsMetaData: PoolMetaDataPartial[] = useMetadataMulti<PoolMetadata>(
Expand All @@ -41,9 +40,7 @@ function Pools() {
const centPoolsMetaDataById = getMetasById(centPools, centPoolsMetaData)

const pools = !!listedPools?.length ? poolsToPoolCardProps(listedPools, centPoolsMetaDataById, cent) : []
console.log('pools', pools)
const filteredPools = !!pools?.length ? filterPools(pools, new URLSearchParams(search)) : []
console.log('flfitleirlerpOPopolp', filteredPools)

if (!listedPools.length) {
return (
Expand Down

0 comments on commit 3db25b9

Please sign in to comment.