Skip to content

Commit

Permalink
fix: cannot find remote interchain token
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Sep 25, 2024
1 parent 7b582ae commit 5ee3c50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/maestro/src/services/interchainToken/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { trpc } from "~/lib/trpc";

export function useInterchainTokenDetailsQuery(input: {
chainId?: number;
tokenAddress?: `0x${string}`;
tokenAddress?: `0x${string}` | null;
}) {
return trpc.interchainToken.getInterchainTokenDetails.useQuery(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ const InterchainTokensPage: FC = () => {
});

const { data: interchainTokenDetails } = useInterchainTokenDetailsQuery({
chainId: routeChain?.id,
tokenAddress,
chainId: interchainToken?.chainId,
tokenAddress: interchainToken?.tokenAddress,
});

const { data: tokenDetails } = useERC20TokenDetailsQuery({
Expand Down

0 comments on commit 5ee3c50

Please sign in to comment.