Skip to content

Commit

Permalink
fix: changed route for transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
lubega-deriv committed May 7, 2024
1 parent 6a5459a commit 9f86d45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/App/Containers/Redirect/redirect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const Redirect = observer(() => {
if (has_wallet) {
history.push(routes.wallets_transactions);
} else {
history.push(routes.reports);
history.push(routes.statement);
}
redirected_to_route = true;
break;
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/utils/routes/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const routes = {
wallets_deposit: '/wallets/cashier/deposit',
wallets_withdrawal: '/wallets/cashier/withdraw',
wallets_transfer: 'wallets/cashier/transfer',
wallets_transactions: '/wallets/cashier/transaction',
wallets_transactions: '/wallets/cashier/transactions',
wallets_compare_accounts: '/wallets/compare-accounts',

// Traders Hub
Expand Down

0 comments on commit 9f86d45

Please sign in to comment.