diff --git a/src/app/pages/BuyWithCreditCard/BuyWithCreditCard.tsx b/src/app/pages/BuyWithCreditCard/BuyWithCreditCard.tsx index 953e0d22e..47629b3d4 100644 --- a/src/app/pages/BuyWithCreditCard/BuyWithCreditCard.tsx +++ b/src/app/pages/BuyWithCreditCard/BuyWithCreditCard.tsx @@ -19,9 +19,9 @@ import { getAssetSymbolToDisplay } from 'lib/buy-with-credit-card/get-asset-symb import { TopUpInputInterface } from 'lib/buy-with-credit-card/topup.interface'; import { shouldShowFieldError } from 'lib/form/should-show-field-error'; import { t, T, toLocalFormat } from 'lib/i18n'; +import { FIAT_ICONS_SRC } from 'lib/icons'; import { useInterval } from 'lib/ui/hooks'; -import { FIAT_ICONS_SRC } from '../../../lib/icons'; import { BuyWithCreditCardSelectors } from './BuyWithCreditCard.selectors'; import { useAllCryptoCurrencies } from './hooks/use-all-crypto-currencies'; import { useAllFiatCurrencies } from './hooks/use-all-fiat-currencies'; diff --git a/src/lib/apis/temple/endpoints/templewallet.api.ts b/src/lib/apis/temple/endpoints/templewallet.api.ts index a9f625b4a..916cd60dd 100644 --- a/src/lib/apis/temple/endpoints/templewallet.api.ts +++ b/src/lib/apis/temple/endpoints/templewallet.api.ts @@ -1,5 +1,5 @@ import axios from 'axios'; -//import { EnvVars } from 'lib/env'; +import { EnvVars } from 'lib/env'; -export const templeWalletApi = axios.create({ baseURL: new URL('/api', 'http://localhost:3000').href }); +export const templeWalletApi = axios.create({ baseURL: new URL('/api', EnvVars.TEMPLE_WALLET_API_URL).href });