Skip to content

Commit 9f349ca

Browse files
authored
fix: #5798 (#5814)
1 parent b72fc3b commit 9f349ca

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

__tests__/shared/components/Settings/Account/__snapshots__/index.jsx.snap

-7
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ exports[`renders account setting page correctly 1`] = `
1010
<SideBar
1111
icons={
1212
Object {
13-
"linked accounts": <LinkedAccountIcon
14-
height="30"
15-
viewBox="0 0 30 30"
16-
width="30"
17-
xmlns="http://www.w3.org/2000/svg"
18-
/>,
1913
"my account": <MyAccountIcon
2014
height="30"
2115
viewBox="0 0 30 30"
@@ -27,7 +21,6 @@ exports[`renders account setting page correctly 1`] = `
2721
names={
2822
Array [
2923
"my account",
30-
"linked account",
3124
]
3225
}
3326
/>

__tests__/shared/components/Settings/Account/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const settingsUI = {
1212
TABS: {
1313
ACCOUNT: {
1414
MYACCOUNT: 'my account',
15-
LINKEDACCOUNT: 'linked account',
15+
// LINKEDACCOUNT: 'linked account',
1616
},
1717
},
1818
};

src/shared/components/Settings/Account/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import _ from 'lodash';
88

99
import Accordion from 'components/Settings/Accordion';
1010
import MyAccountIcon from 'assets/images/account/sideicons/myaccount.svg';
11-
import LinkedAccountIcon from 'assets/images/account/sideicons/linkedaccount.svg';
11+
// import LinkedAccountIcon from 'assets/images/account/sideicons/linkedaccount.svg';
1212
import ErrorWrapper from 'components/Settings/ErrorWrapper';
1313
import SideBar from '../SideBar';
1414
import ComingSoon from '../ComingSoon';
@@ -74,7 +74,7 @@ export default class Account extends React.Component {
7474
const currentTab = this.tablink || settingsUI.currentAccountTab;
7575
const icons = {
7676
'my account': <MyAccountIcon />,
77-
'linked accounts': <LinkedAccountIcon />,
77+
// 'linked accounts': <LinkedAccountIcon />,
7878
};
7979
const renderTabContent = (tab) => {
8080
switch (tab) {

src/shared/reducers/page/ui/settings.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const TABS = {
2525
},
2626
ACCOUNT: {
2727
MYACCOUNT: 'my account',
28-
LINKEDACCOUNT: 'linked accounts',
28+
// LINKEDACCOUNT: 'linked accounts',
2929
},
3030
};
3131

0 commit comments

Comments
 (0)