Skip to content

Commit

Permalink
Cleaned up.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Sep 29, 2023
1 parent 3e8df51 commit 03673b8
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 03673b8

Please sign in to comment.