Skip to content

Commit

Permalink
fix: type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Jul 20, 2023
1 parent 536aeec commit a2598a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/common/hooks/use-bitcoin-contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function useBitcoinContracts() {
const currentAccountIndex = bitcoinAccountDetails.addressIndex;

const currentAddressPrivateKey = deriveAddressIndexKeychainFromAccount(
nativeSegwitPrivateKeychain
nativeSegwitPrivateKeychain.keychain
)(currentAccountIndex).privateKey;

if (!currentAddressPrivateKey) return;
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const selectNativeSegwitActiveNetworkAccountPrivateKeychain = createSelector(
})
);

function useNativeSegwitActiveNetworkAccountPrivateKeychain() {
export function useNativeSegwitActiveNetworkAccountPrivateKeychain() {
return useSelector(selectNativeSegwitActiveNetworkAccountPrivateKeychain);
}

Expand Down

0 comments on commit a2598a9

Please sign in to comment.