Skip to content

Commit

Permalink
Merge pull request #7 from dydxprotocol/mike/trcl-3052-after-placing-…
Browse files Browse the repository at this point in the history
…a-trade-ensure-user-stays-on-the-market-they

TRCL-3052 : After placing a trade, ensure user stays on the market they just traded on instead of being routed back to the overall markets page or portfolio page
  • Loading branch information
ruixhuang authored Nov 7, 2023
2 parents ecab293 + 4888ce4 commit 27e73e0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ private class dydxTradeStatusViewPresenter: HostedViewPresenter<dydxTradeStatusV
}()

private let doneAction: (() -> Void) = {
Router.shared?.navigate(to: RoutingRequest(path: "/action/dismiss"), animated: true) { _, _ in
Router.shared?.navigate(to: RoutingRequest(path: "/action/dismiss"), animated: true, completion: nil)
}
Router.shared?.navigate(to: RoutingRequest(path: "/action/dismiss"), animated: true, completion: nil)
}

private lazy var tryAgainAction: (() -> Void) = { [weak self] in
Expand Down

0 comments on commit 27e73e0

Please sign in to comment.