Skip to content

Commit

Permalink
refactor: remove default tokens in usdRatesMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
amytsang committed Nov 14, 2024
1 parent e6b0bc4 commit d51fc75
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/main/src/store/createUsdRatesSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { State } from '@/store/useStore'

import cloneDeep from 'lodash/cloneDeep'

import { NETWORK_TOKEN } from '@/constants'
import curvejsApi from '@/lib/curvejs'

type StateKey = keyof typeof DEFAULT_STATE
Expand All @@ -30,10 +29,7 @@ export type UsdRatesSlice = {
}

const DEFAULT_STATE: SliceState = {
usdRatesMapper: {
[NETWORK_TOKEN]: 0,
crv: 0,
},
usdRatesMapper: {},
loading: true,
}

Expand Down

0 comments on commit d51fc75

Please sign in to comment.