Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser committed Oct 17, 2023
1 parent 98f067f commit e385dd1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions centrifuge-app/src/components/Portfolio/AssetAllocation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,7 @@ export function AssetAllocation({ address }: { address: string }) {
valueByClass[asset!] = valueByClass[asset!]?.add(balance.balance.toDecimal().mul(price))
})

console.log(
'metas',
metas.map((m) => m.data),
assetClasses,
balances?.tranches,
valueByClass
)
const shades = [800, 600, 400, 200]
const shades = [600, 800, 200, 400]
const tableDataWithColor = assetClasses.map((item, index) => {
const nextShade = shades[index % shades.length]
return {
Expand Down

0 comments on commit e385dd1

Please sign in to comment.