From 21b79f2b40d21dbaa67e7f24067cfb9f1f5996b1 Mon Sep 17 00:00:00 2001 From: lendihop Date: Fri, 29 Sep 2023 21:09:00 +0200 Subject: [PATCH] import fix --- src/app/pages/BuyWithCreditCard/BuyWithCreditCard.tsx | 2 +- src/lib/apis/temple/endpoints/templewallet.api.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 });