@@ -3,8 +3,6 @@ import { TabsNavItem } from '~/libs/ui'
33export enum WalletAdminTabViews {
44 home = '0' ,
55 payments = '1' ,
6- taxforms = '2' ,
7- withdrawalmethods = '3' ,
86}
97
108export 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
2919export 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