Skip to content

Commit

Permalink
formatting, linting
Browse files Browse the repository at this point in the history
  • Loading branch information
steezeburger committed Dec 10, 2024
1 parent 8e2cda4 commit 3c9fd6b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ChainProvider } from "@cosmos-kit/react";
import { assets, chains } from "chain-registry";
import { wallets } from "@cosmos-kit/keplr";
import { wallets as leapWallets } from "@cosmos-kit/leap";
import { Chain } from "@chain-registry/types";
import type { Chain } from "@chain-registry/types";
import { getDefaultConfig, RainbowKitProvider } from "@rainbow-me/rainbowkit";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { WagmiProvider } from "wagmi";
Expand Down Expand Up @@ -69,7 +69,7 @@ export default function App(): React.ReactElement {
// > to a weird cosmos history where Ledger isn’t able
// > to sign SIGN_MODE_DIRECT but only legacy amino messages
return "amino";
}
},
}}
>
<Routes>
Expand Down
6 changes: 5 additions & 1 deletion web/src/features/KeplrWallet/hooks/useIbcChainSelection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ export function useIbcChainSelection(ibcChains: IbcChains) {
const chainName = cosmosChainNameFromId(
selectedIbcChain?.chainId || defaultChainId,
);
const { address, openView: openCosmosWalletModal, getSigningStargateClient } = useChain(chainName);
const {
address,
openView: openCosmosWalletModal,
getSigningStargateClient,
} = useChain(chainName);

// we are keeping track of the address ourselves so that we can clear it if needed,
// e.g. to allow for manual address entry
Expand Down
2 changes: 1 addition & 1 deletion web/src/features/KeplrWallet/services/ibc.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Long from "long";
import { SigningStargateClient, StargateClient } from "@cosmjs/stargate";
import { type SigningStargateClient, StargateClient } from "@cosmjs/stargate";
import { Dec } from "@keplr-wallet/unit";
import type { IbcChainInfo, IbcCurrency } from "config";
import type { Keplr, OfflineAminoSigner } from "@keplr-wallet/types";
Expand Down

0 comments on commit 3c9fd6b

Please sign in to comment.