Skip to content

Commit

Permalink
Merge pull request #6 from Staketab/dev
Browse files Browse the repository at this point in the history
update graphql for test
  • Loading branch information
VitalikKarpuk authored Jan 4, 2024
2 parents 5fe29ac + 58bfec5 commit 819a861
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/ui/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const getConfig = (): {
};
default:
return {
graphql: 'https://score.minascan.io',
graphql: 'https://t-score.minascan.io',
};
}
};
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const StakeModal = ({ modalsController, onStake, balance, openedModals }: StakeC

<div className={style.buttonsBlock}>
<Button text="Cancel" onClick={() => modalsController.close()} variant={Variant.cancel} />
<Button text="Next" onClick={onNext} variant={Variant.blue} disabled={!!amountError || !amount} />
<Button text="Next" onClick={onNext} variant={Variant.blue} />
</div>
</div>
</StakeModalsWrapper>
Expand Down
4 changes: 2 additions & 2 deletions apps/ui/src/store/wallet/walletService.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand All @@ -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',
};
},
Expand Down

0 comments on commit 819a861

Please sign in to comment.