Skip to content

Commit 61da72a

Browse files
Merge branch 'main' of github.com:curvefi/curve-frontend into tanstack-dev-lint
2 parents ae86f99 + 63be03c commit 61da72a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
- uses: actions/checkout@v4
88
- uses: actions/setup-node@v2
99
with:
10-
node-version: 22
10+
node-version: 20
1111
cache: yarn
1212
- run: yarn set version stable
1313
- run: yarn install --immutable

apps/main/src/store/createPoolsSlice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ const createPoolsSlice = (set: SetState<State>, get: GetState<State>): PoolsSlic
647647

648648
if (selectedChartIndex === 0 || selectedChartIndex === 1) {
649649
try {
650-
const priceUnit = selectedChartIndex === 0 ? 'token0' : 'usd'
650+
const priceUnit = selectedChartIndex === 0 ? 'usd' : 'token0'
651651

652652
const lpPriceRes = await fetch(
653653
`https://prices.curve.fi/v1/lp_ohlc/${network}/${poolAddress}?agg_number=${interval}&agg_units=${timeUnit}&start=${start}&end=${end}&price_units=${priceUnit}`

0 commit comments

Comments
 (0)