Skip to content

Commit

Permalink
fix: add missing hook dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
alfetopito committed Feb 23, 2024
1 parent fd8850a commit 11b4a24
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,14 @@ export function useHandleOrderPlacement(
tradeConfirmActions.onError(getSwapErrorMessage(error))
}
})
}, [tradeFn, tradeConfirmActions, updateLimitOrdersState, setPartiallyFillableOverride, hideAlternativeOrderModal])
}, [
tradeFn,
tradeConfirmActions,
updateLimitOrdersState,
setPartiallyFillableOverride,
hideAlternativeOrderModal,
navigateToOpenOrdersTable,
])
}

function buildTradeAmounts(tradeContext: TradeFlowContext): TradeAmounts {
Expand Down

0 comments on commit 11b4a24

Please sign in to comment.