feat(constants): add coin gecko api key
This commit is contained in:
parent
a6d537b677
commit
76f043301d
|
@ -6,7 +6,7 @@ import { XStack, YStack } from 'tamagui'
|
|||
import { RootState } from '../../redux/store'
|
||||
import { formatNumbersWithComa } from '../../utilities'
|
||||
import ChevronIcon from './ChevronIcon'
|
||||
import { LOADING } from '../../constants'
|
||||
import { COIN_GECKO_API_KEY, LOADING } from '../../constants'
|
||||
|
||||
type CurrencyDropdownProps = {
|
||||
depositAmount: number
|
||||
|
@ -40,7 +40,7 @@ const CurrencyDropdown = ({ depositAmount }: CurrencyDropdownProps) => {
|
|||
{
|
||||
headers: {
|
||||
accept: 'application/json',
|
||||
'x-cg-demo-api-key': 'CG-FPQgFNTF26FzyCA7vtbaSh5U',
|
||||
'x-cg-demo-api-key': COIN_GECKO_API_KEY,
|
||||
},
|
||||
},
|
||||
)
|
||||
|
@ -60,7 +60,7 @@ const CurrencyDropdown = ({ depositAmount }: CurrencyDropdownProps) => {
|
|||
{
|
||||
headers: {
|
||||
accept: 'application/json',
|
||||
'x-cg-demo-api-key': 'CG-FPQgFNTF26FzyCA7vtbaSh5U',
|
||||
'x-cg-demo-api-key': COIN_GECKO_API_KEY,
|
||||
},
|
||||
},
|
||||
)
|
||||
|
|
|
@ -176,6 +176,7 @@ export const LINUX = 'Linux'
|
|||
|
||||
export const INITIAL_CURRENCY = 'usd'
|
||||
export const LOADING = 'Loading...'
|
||||
export const COIN_GECKO_API_KEY = 'CG-FPQgFNTF26FzyCA7vtbaSh5U'
|
||||
|
||||
export const DEPOSIT_SUBTITLE =
|
||||
'Connect you Wallet to stake required ETH for new validators'
|
||||
|
|
Loading…
Reference in New Issue