Skip to content

Commit

Permalink
Cleaned up.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Oct 3, 2023
1 parent 391c4a5 commit 8095fde
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/stateful/components/dao/DaoTreasuryHistoryGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,18 +153,17 @@ export const DaoTreasuryHistoryGraph = ({
return []
}

const borderColor =
DISTRIBUTION_COLORS[tokenIndex % DISTRIBUTION_COLORS.length]
const { token } = treasuryValueHistory.data.tokens[tokenIndex]

const token = treasuryValueHistory.data.tokens[tokenIndex].token
return {
token,
order: 3,
label:
'$' + transformIbcSymbol(token.symbol).tokenSymbol + ' Target',
data,
borderDash: [2.5, 2.5],
borderColor,
borderColor:
DISTRIBUTION_COLORS[tokenIndex % DISTRIBUTION_COLORS.length],
pointRadius: 0,
pointHitRadius: 0,
borderWidth: 2.5,
Expand Down

0 comments on commit 8095fde

Please sign in to comment.