Skip to content

Commit

Permalink
fix: fix transfer balance (#1481)
Browse files Browse the repository at this point in the history
  • Loading branch information
euharrison authored Jan 8, 2025
1 parent 7168683 commit 3597549
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/namadillo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@namada/namadillo",
"version": "1.1.10",
"version": "1.1.11",
"description": "Namadillo",
"repository": "https://github.com/anoma/namada-interface/",
"author": "Heliax Dev <info@heliax.dev>",
Expand Down
9 changes: 7 additions & 2 deletions apps/namadillo/src/App/NamadaTransfer/NamadaTransfer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ import {
TransferModule,
} from "App/Transfer/TransferModule";
import { allDefaultAccountsAtom } from "atoms/accounts";
import { namadaTransparentAssetsAtom } from "atoms/balance/atoms";
import {
namadaShieldedAssetsAtom,
namadaTransparentAssetsAtom,
} from "atoms/balance/atoms";
import { chainParametersAtom } from "atoms/chain/atoms";
import { applicationFeaturesAtom, rpcUrlAtom } from "atoms/settings";
import BigNumber from "bignumber.js";
Expand Down Expand Up @@ -40,7 +43,9 @@ export const NamadaTransfer: React.FC = () => {
const defaultAccounts = useAtomValue(allDefaultAccountsAtom);

const { data: availableAssetsData, isLoading: isLoadingAssets } =
useAtomValue(namadaTransparentAssetsAtom);
useAtomValue(
shielded ? namadaShieldedAssetsAtom : namadaTransparentAssetsAtom
);

const { storeTransaction } = useTransactionActions();

Expand Down

1 comment on commit 3597549

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Please sign in to comment.