File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
kit/src/provider/Container/CreateAddressContainer Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { useIntl } from 'react-intl';
55import { Button , Dialog , Toast } from '@onekeyhq/components' ;
66import type { IButtonProps } from '@onekeyhq/components' ;
77import type { IDBAccount } from '@onekeyhq/kit-bg/src/dbs/local/types' ;
8+ import type { IAccountDeriveTypes } from '@onekeyhq/kit-bg/src/vaults/types' ;
89import {
910 EAppEventBusNames ,
1011 appEventBus ,
@@ -55,7 +56,7 @@ function BasicCreateAddressDialogContent({
5556 ) => void ;
5657 networkId : string ;
5758 indexedAccountId ?: string ;
58- deriveType : string ;
59+ deriveType : IAccountDeriveTypes ;
5960 autoCreateAddress : boolean ;
6061} ) {
6162 const {
@@ -97,7 +98,7 @@ function CreateAddressDialogContent({
9798 ) => void ;
9899 networkId : string ;
99100 indexedAccountId ?: string ;
100- deriveType : string ;
101+ deriveType : IAccountDeriveTypes ;
101102 autoCreateAddress : boolean ;
102103} ) {
103104 return (
@@ -160,7 +161,7 @@ function BasicCreateAddressContainer() {
160161 } : {
161162 networkId : string ;
162163 indexedAccountId : string ;
163- deriveType : string ;
164+ deriveType : IAccountDeriveTypes ;
164165 promiseId : number ;
165166 autoCreateAddress : boolean ;
166167 } ) => {
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ export interface IAppEventBusPayload {
269269 indexedAccountId : string ;
270270 promiseId : number ;
271271 autoCreateAddress : boolean ;
272- deriveType : string ;
272+ deriveType : IAccountDeriveTypes ;
273273 } ;
274274}
275275
You can’t perform that action at this time.
0 commit comments