@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
3
3
import { Alert } from '@openedx/paragon' ;
4
4
import { connect } from 'react-redux' ;
5
5
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' ;
6
- import { faTwitter , faFacebook , faLinkedin } from '@fortawesome/free-brands-svg-icons' ;
6
+ import { faXTwitter , faFacebook , faLinkedin } from '@fortawesome/free-brands-svg-icons' ;
7
7
import { FormattedMessage , injectIntl , intlShape } from '@edx/frontend-platform/i18n' ;
8
8
import classNames from 'classnames' ;
9
9
@@ -23,9 +23,9 @@ const platformDisplayInfo = {
23
23
icon : faFacebook ,
24
24
name : 'Facebook' ,
25
25
} ,
26
- twitter : {
27
- icon : faTwitter ,
28
- name : 'Twitter' ,
26
+ xTwitter : {
27
+ icon : faXTwitter ,
28
+ name : 'X ( Twitter) ' ,
29
29
} ,
30
30
linkedin : {
31
31
icon : faLinkedin ,
@@ -108,7 +108,7 @@ const EmptyListItem = ({ onClick, name }) => (
108
108
values = { {
109
109
network : name ,
110
110
} }
111
- description = "{network} is the name of a social network such as Facebook or Twitter "
111
+ description = "{network} is the name of a social network such as Facebook or X "
112
112
/>
113
113
</ EmptyContent >
114
114
</ li >
@@ -181,7 +181,7 @@ class SocialLinks extends React.Component {
181
181
}
182
182
183
183
mergeWithDrafts ( newSocialLink ) {
184
- const knownPlatforms = [ 'twitter ' , 'facebook' , 'linkedin' ] ;
184
+ const knownPlatforms = [ 'xTwitter ' , 'facebook' , 'linkedin' ] ;
185
185
const updated = [ ] ;
186
186
knownPlatforms . forEach ( ( platform ) => {
187
187
if ( newSocialLink . platform === platform ) {
0 commit comments