Skip to content

Commit

Permalink
[DTRA]/Ahmad/Update Dtrader Url (binary-com#14558)
Browse files Browse the repository at this point in the history
* chore: initial setup

* chore: test case fix

* chore: fixing test cases

* chore: fixing test cases

* chore: binary link fix

* chore: add root route /

* chore: review fix

* chore: fixing test case

* chore: redirecting trading button to dtrader

* fix: test case

* fix: trigger

* chore: stylelint
  • Loading branch information
ahmadtaimoor-deriv committed May 28, 2024
1 parent 56b8188 commit 2f4292d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
27 changes: 0 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const RouteWithSubRoutes = observer(route => {
? routes.p2p_buy_sell
: cashier_subroutes?.routes.find(({ path }) => pathname === path);

return route.path === pathname || !!p2p_subroutes
return route.path === pathname || !!p2p_subroutes;
} else if (pathname.includes(routes.cashier_v2) && !is_next_cashier_enabled) {
return false;
} else if (
Expand Down

0 comments on commit 2f4292d

Please sign in to comment.