Skip to content

Commit

Permalink
fix: fix deriveType type
Browse files Browse the repository at this point in the history
  • Loading branch information
huhuanming committed Jan 2, 2025
1 parent b420f9f commit 4b444af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { useIntl } from 'react-intl';
import { Button, Dialog, Toast } from '@onekeyhq/components';
import type { IButtonProps } from '@onekeyhq/components';
import type { IDBAccount } from '@onekeyhq/kit-bg/src/dbs/local/types';
import type { IAccountDeriveTypes } from '@onekeyhq/kit-bg/src/vaults/types';
import {
EAppEventBusNames,
appEventBus,
Expand Down Expand Up @@ -55,7 +56,7 @@ function BasicCreateAddressDialogContent({
) => void;
networkId: string;
indexedAccountId?: string;
deriveType: string;
deriveType: IAccountDeriveTypes;
autoCreateAddress: boolean;
}) {
const {
Expand Down Expand Up @@ -97,7 +98,7 @@ function CreateAddressDialogContent({
) => void;
networkId: string;
indexedAccountId?: string;
deriveType: string;
deriveType: IAccountDeriveTypes;
autoCreateAddress: boolean;
}) {
return (
Expand Down Expand Up @@ -160,7 +161,7 @@ function BasicCreateAddressContainer() {
}: {
networkId: string;
indexedAccountId: string;
deriveType: string;
deriveType: IAccountDeriveTypes;
promiseId: number;
autoCreateAddress: boolean;
}) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/eventBus/appEventBus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export interface IAppEventBusPayload {
indexedAccountId: string;
promiseId: number;
autoCreateAddress: boolean;
deriveType: string;
deriveType: IAccountDeriveTypes;
};
}

Expand Down

0 comments on commit 4b444af

Please sign in to comment.