@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
33import { Alert } from '@openedx/paragon' ;
44import { connect } from 'react-redux' ;
55import { 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' ;
77import { FormattedMessage , injectIntl , intlShape } from '@edx/frontend-platform/i18n' ;
88import classNames from 'classnames' ;
99
@@ -23,9 +23,9 @@ const platformDisplayInfo = {
2323 icon : faFacebook ,
2424 name : 'Facebook' ,
2525 } ,
26- twitter : {
27- icon : faTwitter ,
28- name : 'Twitter' ,
26+ xTwitter : {
27+ icon : faXTwitter ,
28+ name : 'X ( Twitter) ' ,
2929 } ,
3030 linkedin : {
3131 icon : faLinkedin ,
@@ -108,7 +108,7 @@ const EmptyListItem = ({ onClick, name }) => (
108108 values = { {
109109 network : name ,
110110 } }
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 "
112112 />
113113 </ EmptyContent >
114114 </ li >
@@ -181,7 +181,7 @@ class SocialLinks extends React.Component {
181181 }
182182
183183 mergeWithDrafts ( newSocialLink ) {
184- const knownPlatforms = [ 'twitter ' , 'facebook' , 'linkedin' ] ;
184+ const knownPlatforms = [ 'xTwitter ' , 'facebook' , 'linkedin' ] ;
185185 const updated = [ ] ;
186186 knownPlatforms . forEach ( ( platform ) => {
187187 if ( newSocialLink . platform === platform ) {
0 commit comments