Skip to content

Commit

Permalink
logTxToDb fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lufaque committed Dec 20, 2023
1 parent f425e60 commit e37da2d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { StandardRoute } from '../../../../types/StandardRoute'

export const handleRangoResponse = (executedRoute: TransactionStatusResponse, swapDispatch: Dispatch<SwapAction>, stdRoute: StandardRoute) => {
swapDispatch({ type: 'UPDATE_LAST_SWAP_STEP' })
stdRoute.executedRoute = executedRoute

if (executedRoute.status === TransactionStatus.FAILED) {
swapDispatch({ type: 'SET_SWAP_STAGE', payload: SwapCardStage.failed })
Expand Down

0 comments on commit e37da2d

Please sign in to comment.