Skip to content

Commit f8499b6

Browse files
committed
Remove wallet-admin tabs
1 parent 5e41ca0 commit f8499b6

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/apps/wallet-admin/src/home/tabs/config/wallet-tabs-config.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import { TabsNavItem } from '~/libs/ui'
33
export enum WalletAdminTabViews {
44
home = '0',
55
payments = '1',
6-
taxforms = '2',
7-
withdrawalmethods = '3',
86
}
97

108
export const WalletAdminTabsConfig: TabsNavItem[] = [
@@ -16,14 +14,6 @@ export const WalletAdminTabsConfig: TabsNavItem[] = [
1614
id: WalletAdminTabViews.payments,
1715
title: 'Payments',
1816
},
19-
{
20-
id: WalletAdminTabViews.withdrawalmethods,
21-
title: 'Payment Providers',
22-
},
23-
{
24-
id: WalletAdminTabViews.taxforms,
25-
title: 'Tax Forms',
26-
},
2717
]
2818

2919
export function getHashFromTabId(tabId: string): string {
@@ -32,10 +22,6 @@ export function getHashFromTabId(tabId: string): string {
3222
return '#home'
3323
case WalletAdminTabViews.payments:
3424
return '#payments'
35-
case WalletAdminTabViews.taxforms:
36-
return '#tax-forms'
37-
case WalletAdminTabViews.withdrawalmethods:
38-
return '#payment-providers'
3925
default:
4026
return '#home'
4127
}
@@ -45,10 +31,6 @@ export function getTabIdFromHash(hash: string): string {
4531
switch (hash) {
4632
case '#payments':
4733
return WalletAdminTabViews.payments
48-
case '#tax-forms':
49-
return WalletAdminTabViews.taxforms
50-
case '#payment-providers':
51-
return WalletAdminTabViews.withdrawalmethods
5234
default:
5335
return WalletAdminTabViews.home
5436
}

0 commit comments

Comments
 (0)