Skip to content

Commit

Permalink
fix: small features
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Dec 16, 2020
1 parent 60113cb commit 38d4a77
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion app/modals/stacking/stacking-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ export const StackingModal: FC<StackingModalProps> = props => {

if (walletType === 'ledger') {
if (publicKey === null) {
// log.error('Tried to create Ledger transaction without persisted private key');
return;
}

Expand Down
2 changes: 1 addition & 1 deletion app/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ contextBridge.exposeInMainWorld('api', {
const transport = await TransportNodeHid.open(descriptor);
transport.on('disconnect', async () => {
await transport.close();
onDisconnect();
setTimeout(() => onDisconnect(), 0);
});
return {
transport,
Expand Down
1 change: 0 additions & 1 deletion app/store/keys/keys.actions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useHistory } from 'react-router';
import { push } from 'connected-react-router';
import { createAction, Dispatch } from '@reduxjs/toolkit';
// import log from 'electron-log';
import { generateMnemonicRootKeychain, deriveRootKeychainFromMnemonic } from '@stacks/keychain';

import { RootState } from '..';
Expand Down

0 comments on commit 38d4a77

Please sign in to comment.