@@ -12,9 +12,7 @@ import Accordion from 'components/Settings/Accordion';
12
12
import LoadingIndicator from 'components/LoadingIndicator' ;
13
13
import EmailIcon from 'assets/images/preferences/email.svg' ;
14
14
import Forum from 'assets/images/preferences/forum.svg' ;
15
- import Invletter from 'assets/images/preferences/invletter.svg' ;
16
15
import Payment from 'assets/images/preferences/payment.svg' ;
17
- import Referral from 'assets/images/preferences/referral.svg' ;
18
16
import SideBar from 'components/Settings/SideBar' ;
19
17
import ErrorWrapper from 'components/Settings/ErrorWrapper' ;
20
18
import Email from './Email' ;
@@ -26,16 +24,12 @@ const tabs = {
26
24
EMAIL : 'e-mail' ,
27
25
FORUM : 'forum' ,
28
26
PAYMENT : 'payment' ,
29
- LETTER : 'invitation letter' ,
30
- REFERRALS : 'referrals' ,
31
27
} ;
32
28
33
29
const icons = {
34
30
'e-mail' : < EmailIcon /> ,
35
31
forum : < Forum /> ,
36
32
payment : < Payment /> ,
37
- 'invitation letter' : < Invletter /> ,
38
- referrals : < Referral /> ,
39
33
} ;
40
34
41
35
export default class Preferences extends React . Component {
@@ -96,10 +90,6 @@ export default class Preferences extends React.Component {
96
90
return ( window . location . href = `${ config . URL . FORUMS } /?module=Settings` ) && < LoadingIndicator /> ;
97
91
case 'payment' :
98
92
return ( window . location . href = `${ config . URL . COMMUNITY } /tc?module=EditPaymentPreferences` ) && < LoadingIndicator /> ;
99
- case 'invitation letter' :
100
- return ( window . location . href = `${ config . URL . COMMUNITY } /tc?module=VisaSelection` ) && < LoadingIndicator /> ;
101
- case 'referrals' :
102
- return ( window . location . href = `${ config . URL . COMMUNITY } /tc?module=ViewReferrals` ) && < LoadingIndicator /> ;
103
93
default :
104
94
return null ;
105
95
}
0 commit comments