Skip to content

Commit

Permalink
fix: neutron account balance display [web-neutron] (#1321)
Browse files Browse the repository at this point in the history
## Description

Closes: #XXXX

<!-- Add a description of the changes that this PR introduces and the
files that
are the most critical to review. -->

---

### Author Checklist

_All items are required. Please add a note to the item if the item is
not applicable and
please add links to any relevant follow up issues._

I have...

- [x] ran linting via `yarn lint`
- [x] wrote tests where necessary
- [x] included the correct [type
prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json)
in the PR title
- [x] targeted the correct branch
- [x] provided a link to the relevant issue or specification
- [x] reviewed "Files changed" and left comments if necessary
- [x] confirmed all CI checks have passed
- [x] added a changeset via [`yarn && yarn
changeset`](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md)
  • Loading branch information
MonikaCat authored Jan 23, 2024
1 parent f464068 commit 229218c
Show file tree
Hide file tree
Showing 7 changed files with 1,214 additions and 76 deletions.
5 changes: 5 additions & 0 deletions .changeset/rude-numbers-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'web-neutron': major
---

fix neutron account balance display
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export const AccountBalancesDocument = /* GraphQL */ `
query AccountBalances($address: String!) {
accountBalances: action_account_balance(address: $address) {
coins
}
}
`;
10 changes: 0 additions & 10 deletions apps/web-neutron/src/graphql/provider/account_details_documents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@ export const AccountWithdrawalAddressDocument = /* GraphQL */ `
}
`;

export const AccountBalancesDocument = /* GraphQL */ `
query AccountBalances($address: String!) {
bdjuno_provider {
accountBalances: action_account_balance(address: $address) {
coins
}
}
}
`;

export const AccountDelegationBalanceDocument = /* GraphQL */ `
query AccountDelegationBalance($address: String!) {
bdjuno_provider {
Expand Down
Loading

1 comment on commit 229218c

@vercel
Copy link

@vercel vercel bot commented on 229218c Jan 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cosmos – ./

cosmos-bigdipper.vercel.app
cosmos-git-main-bigdipper.vercel.app
bigdipper.vercel.app

Please sign in to comment.