Skip to content

Commit

Permalink
Fix(Swaps): TWAP order decoding (#4803)
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh authored Jan 21, 2025
1 parent cd5784c commit 9e618e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/src/components/tx/confirmation-views/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
isSafeToL2MigrationTxData,
isSafeUpdateTxData,
isSwapOrderTxInfo,
isTwapOrderTxInfo,
} from '@/utils/transaction-guards'
import { type ReactNode, useContext, useMemo } from 'react'
import TxData from '@/components/transactions/TxDetails/TxData'
Expand Down Expand Up @@ -55,7 +56,7 @@ const getConfirmationViewComponent = ({

if (isExecTxData(txData)) return <ExecTransaction data={txData} isConfirmationView />

if (isSwapOrderTxInfo(txInfo)) return <SwapOrder txInfo={txInfo} txData={txData} />
if (isSwapOrderTxInfo(txInfo) || isTwapOrderTxInfo(txInfo)) return <SwapOrder txInfo={txInfo} txData={txData} />

if (isAnyStakingTxInfo(txInfo)) return <StakingTx txInfo={txInfo} />

Expand Down

0 comments on commit 9e618e6

Please sign in to comment.