From 58bfec56b4674ef70679794a5b675ecc10b07585 Mon Sep 17 00:00:00 2001 From: Vitali Karpuk Date: Thu, 4 Jan 2024 16:35:46 +0300 Subject: [PATCH] update graphql for test --- apps/ui/config/config.ts | 2 +- .../src/components/molecules/stakeModal/modals/stakeModal.tsx | 2 +- apps/ui/src/store/wallet/walletService.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/ui/config/config.ts b/apps/ui/config/config.ts index 29ed6bf..0cab0dd 100644 --- a/apps/ui/config/config.ts +++ b/apps/ui/config/config.ts @@ -14,7 +14,7 @@ export const getConfig = (): { }; default: return { - graphql: 'https://score.minascan.io', + graphql: 'https://t-score.minascan.io', }; } }; diff --git a/apps/ui/src/components/molecules/stakeModal/modals/stakeModal.tsx b/apps/ui/src/components/molecules/stakeModal/modals/stakeModal.tsx index 621f7c3..f85b652 100644 --- a/apps/ui/src/components/molecules/stakeModal/modals/stakeModal.tsx +++ b/apps/ui/src/components/molecules/stakeModal/modals/stakeModal.tsx @@ -108,7 +108,7 @@ const StakeModal = ({ modalsController, onStake, balance, openedModals }: StakeC
diff --git a/apps/ui/src/store/wallet/walletService.ts b/apps/ui/src/store/wallet/walletService.ts index 51f3722..3e9e827 100644 --- a/apps/ui/src/store/wallet/walletService.ts +++ b/apps/ui/src/store/wallet/walletService.ts @@ -1,5 +1,5 @@ import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'; -import { NETWORK, PUBLIC_APP_BASE_URL } from '../../comman/constants'; +import { PUBLIC_APP_BASE_URL } from '../../comman/constants'; export const walletService = createApi({ reducerPath: 'walletService', @@ -11,7 +11,7 @@ export const walletService = createApi({ getWalletBalance: builder.query({ query: (address) => { return { - url: `/${NETWORK}/api//api/core/accounts/${address}/balance`, + url: `/qanet/api//api/core/accounts/${address}/balance`, method: 'GET', }; },