Skip to content

Commit

Permalink
add useTransactionType docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAlec committed Sep 8, 2024
1 parent c2715d5 commit 5636b0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/transaction/hooks/useTransactionType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import {
} from '../constants';
import type { UseTransactionTypeParams } from '../types';

// In the `Transaction` component either `calls` and `contracts` can be passed as props for transactions.
// This hook is used to determine the transaction type based on the props passed.
// It will also return the appropriate transaction status based on the transaction type.
export const useTransactionType = ({
calls,
contracts,
Expand Down

0 comments on commit 5636b0b

Please sign in to comment.