Skip to content

Commit

Permalink
[WALL] Aizad/WALL-3728/Re-add Transaction tab inside of Cashier (deri…
Browse files Browse the repository at this point in the history
…v-com#14520)

* chore: Added transaction tab inside of Wallet header

* chore: re-add transaction tab for virtual wallet
  • Loading branch information
aizad-deriv authored Apr 5, 2024
1 parent b43d717 commit c3d5eaf
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { WalletListCardBadge } from '../../../../components/WalletListCardBadge'
import useDevice from '../../../../hooks/useDevice';
import CloseIcon from '../../../../public/images/close-icon.svg';
import IcCashierDeposit from '../../../../public/images/ic-cashier-deposit.svg';
import IcCashierStatement from '../../../../public/images/ic-cashier-statement.svg';
import IcCashierTransfer from '../../../../public/images/ic-cashier-transfer.svg';
import IcCashierWithdrawal from '../../../../public/images/ic-cashier-withdrawal.svg';
import ResetBalance from '../../../../public/images/plus-thin.svg';
Expand All @@ -33,6 +34,11 @@ const realAccountTabs = [
path: 'transfer',
text: i18n.t('Transfer'),
},
{
icon: <IcCashierStatement />,
path: 'transactions',
text: i18n.t('Transactions'),
},
] as const;

const virtualAccountTabs = [
Expand All @@ -46,6 +52,11 @@ const virtualAccountTabs = [
path: 'reset-balance',
text: i18n.t('Reset Balance'),
},
{
icon: <IcCashierStatement />,
path: 'transactions',
text: i18n.t('Transactions'),
},
] as const;

const WalletCashierHeader: React.FC<TProps> = ({ hideWalletDetails }) => {
Expand Down
10 changes: 10 additions & 0 deletions packages/wallets/src/public/images/ic-cashier-statement.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c3d5eaf

Please sign in to comment.