fix: type errors

This commit is contained in:
kyranjamie
2023-07-20 11:52:35 +02:00
committed by kyranjamie
parent 536aeec5f6
commit a2598a9498
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ export function useBitcoinContracts() {
const currentAccountIndex = bitcoinAccountDetails.addressIndex;
const currentAddressPrivateKey = deriveAddressIndexKeychainFromAccount(
nativeSegwitPrivateKeychain
nativeSegwitPrivateKeychain.keychain
)(currentAccountIndex).privateKey;
if (!currentAddressPrivateKey) return;

View File

@@ -1,4 +1,4 @@
import { Stack, Text, transition } from '@stacks/ui';
import { Stack, Text } from '@stacks/ui';
import { truncateMiddle } from '@stacks/ui-utils';
import { createMoneyFromDecimal } from '@shared/models/money.model';

View File

@@ -52,7 +52,7 @@ const selectNativeSegwitActiveNetworkAccountPrivateKeychain = createSelector(
})
);
function useNativeSegwitActiveNetworkAccountPrivateKeychain() {
export function useNativeSegwitActiveNetworkAccountPrivateKeychain() {
return useSelector(selectNativeSegwitActiveNetworkAccountPrivateKeychain);
}