Skip to content

Commit

Permalink
Clean up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jurevans committed Jul 26, 2023
1 parent fb2bd33 commit c9d8d73
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions apps/extension/src/Approvals/ApproveTx/ConfirmLedgerTx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LedgerError } from "@namada/ledger-namada";
import { Button, ButtonVariant } from "@namada/components";
import { defaultChainId as chainId } from "@namada/chains";
import { TxType } from "@namada/shared";
import { Message, Tokens, TxProps } from "@namada/types";
import { Message, Tokens, TxProps, TxMsgValue } from "@namada/types";

import { Ledger } from "background/ledger";
import {
Expand All @@ -27,7 +27,6 @@ import { InfoHeader, InfoLoader } from "Approvals/Approvals.components";

import { QueryPublicKeyMsg } from "background/keyring";
import { TxTypeLabel } from "Approvals/types";
import { TxMsgValue } from "@namada/types/src/tx/schema/tx";

type Props = {
details?: ApprovalDetails;
Expand Down
3 changes: 1 addition & 2 deletions apps/extension/src/background/ledger/service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { fromBase64 } from "@cosmjs/encoding";
import { deserialize } from "@dao-xyz/borsh";

import { AccountType, Bip44Path } from "@namada/types";
import { AccountType, Bip44Path, TxMsgValue } from "@namada/types";
import { ResponseSign } from "@namada/ledger-namada";
import { Sdk, TxType } from "@namada/shared";
import { IStore, KVStore, Store } from "@namada/storage";
Expand All @@ -18,7 +18,6 @@ import { encodeSignature, generateId, getEncodedTxByType } from "utils";
import { ExtensionRequester } from "extension";
import { Ports } from "router";
import { UpdatedStakingEventMsg } from "content/events";
import { TxMsgValue } from "@namada/types/src/tx/schema/tx";

export const LEDGERSTORE_KEY = "ledger-store";
const UUID_NAMESPACE = "be9fdaee-ffa2-11ed-8ef1-325096b39f47";
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import {
SubmitWithdrawMsgValue,
TransferMsgValue,
TxProps,
TxMsgValue,
} from "@namada/types";
import { pick } from "@namada/utils";
import { AccountStore } from "background/keyring";
import { ISignature } from "@namada/ledger-namada";
import { TxMsgValue } from "@namada/types/src/tx/schema/tx";
import { TxType } from "@namada/shared";
import { deserialize } from "@dao-xyz/borsh";
import { fromBase64 } from "@cosmjs/encoding";
Expand Down
1 change: 1 addition & 0 deletions packages/types/src/tx/schema/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export * from "./bond";
export * from "./signature";
export * from "./unbond";
export * from "./withdraw";
export * from "./tx";

import { AccountMsgValue } from "./account";
import { IbcTransferMsgValue } from "./ibcTransfer";
Expand Down

0 comments on commit c9d8d73

Please sign in to comment.