File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/namadillo/src/App/Transfer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change
1
+ import { Keplr } from "@keplr-wallet/types" ;
1
2
import { AccountType } from "@namada/types" ;
2
3
import { shortenAddress } from "@namada/utils" ;
3
4
import { routes } from "App/routes" ;
@@ -53,7 +54,7 @@ export const AddressDropdown = ({
53
54
54
55
// Helper function to fetch Keplr address for the appropriate chain
55
56
const fetchKeplrAddressForChain = async (
56
- keplrInstance : any
57
+ keplrInstance : Keplr
57
58
) : Promise < void > => {
58
59
let chainId : string | undefined ;
59
60
@@ -291,7 +292,6 @@ export const AddressDropdown = ({
291
292
location . pathname !== routes . maspShield &&
292
293
isShieldedAddress ( destinationAddress ?? "" ) ;
293
294
const isShieldingTxn = location . pathname === routes . maspShield ;
294
-
295
295
const disabled =
296
296
( keplr && isShieldedTransfer ) ||
297
297
( transparent && isShieldedTransfer ) ||
You can’t perform that action at this time.
0 commit comments