Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jvonasek committed Jan 22, 2025
1 parent 726d1ee commit 0a4e857
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/sections/transaction/ReviewTransaction.utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,16 @@ export const useSendTx = (xcallMeta?: Record<string, string>) => {
}
}

function getActiveMutation(txType: TxType, mutations: Record<TxType, object>) {
type TTxMutation =
| ReturnType<typeof useSendTransactionMutation>
| ReturnType<typeof useSendEvmTransactionMutation>
| ReturnType<typeof useSendSolanaTransactionMutation>
| ReturnType<typeof useSendDispatchPermit>

function getActiveMutation(
txType: TxType,
mutations: Record<TxType, TTxMutation>,
) {
return mutations[txType]
}

Expand Down

0 comments on commit 0a4e857

Please sign in to comment.