Skip to content

Commit

Permalink
fix: minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
teebszet committed Dec 20, 2023
1 parent e3d235d commit 62932b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/app/screens/transactionRequest/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
generateUnsignedStxTokenTransferTransaction,
StacksNetwork,
StacksTransaction,
StxPendingTxData,
} from '@secretkeylabs/xverse-core';
import { TransactionPayload } from '@stacks/connect';

Expand All @@ -30,7 +31,7 @@ export async function getTokenTransferRequest(
stxPublicKey: string,
feeMultipliers: FeesMultipliers,
network: StacksNetwork,
stxPendingTransactions,
stxPendingTransactions: StxPendingTxData,
) {
const unsignedSendStxTx: StacksTransaction = await generateUnsignedStxTokenTransferTransaction(
recipient,
Expand Down
4 changes: 3 additions & 1 deletion src/app/screens/transactionRequest/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
import { StacksTransaction } from '@stacks/transactions';
import { getNetworkType, isHardwareAccount } from '@utils/helper';
import { useEffect, useState } from 'react';
import toast from 'react-hot-toast';
import { useNavigate } from 'react-router-dom';
import { MoonLoader } from 'react-spinners';
import styled from 'styled-components';
Expand Down Expand Up @@ -116,7 +117,8 @@ function TransactionRequest() {
await handleContractDeployRequest();
}
} catch (e: unknown) {
console.log(e);
console.error(e); // eslint-disable-line
toast.error('Unexpected error creating transaction');
}
};

Expand Down

0 comments on commit 62932b0

Please sign in to comment.