diff --git a/frontend/src/components/footer/index.js b/frontend/src/components/footer/index.js
index b38155e802..36b6cc4363 100644
--- a/frontend/src/components/footer/index.js
+++ b/frontend/src/components/footer/index.js
@@ -23,7 +23,7 @@ import {
import './styles.scss';
const socialNetworks = [
- { link: ORG_TWITTER, icon: },
+ { link: ORG_TWITTER, icon: },
{ link: ORG_FB, icon: },
{ link: ORG_YOUTUBE, icon: },
{ link: ORG_INSTAGRAM, icon: },
diff --git a/frontend/src/components/projectDetail/shareButton.js b/frontend/src/components/projectDetail/shareButton.js
index f153590ce0..5135a0279e 100644
--- a/frontend/src/components/projectDetail/shareButton.js
+++ b/frontend/src/components/projectDetail/shareButton.js
@@ -6,7 +6,7 @@ import messages from './messages';
import { ORG_CODE } from '../../config';
import { createPopup } from '../../utils/login';
import { getTwitterLink, getLinkedInLink, getFacebookLink } from '../../utils/shareFunctions';
-import { TwitterIconNoBg, FacebookIcon, LinkedinIcon, ShareIcon } from '../svgIcons';
+import { TwitterIcon, FacebookIcon, LinkedinIcon, ShareIcon } from '../svgIcons';
export function ShareButton({ projectId }: Object) {
const iconStyle = { width: '1.4em', height: '1.4em' };
@@ -41,7 +41,7 @@ export function ShareButton({ projectId }: Object) {
className="link no-underline base-font f6 pointer pv1"
onClick={() => twitterPopup(msg)}
>
-
+
Tweet
-
-
-
-
+
);
}
diff --git a/frontend/src/components/svgIcons/twitterNoBg.js b/frontend/src/components/svgIcons/twitterNoBg.js
deleted file mode 100644
index af64f295ce..0000000000
--- a/frontend/src/components/svgIcons/twitterNoBg.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react';
-
-export class TwitterIconNoBg extends React.PureComponent {
- render() {
- return (
-
- );
- }
-}
diff --git a/frontend/src/components/userDetail/headerProfile.js b/frontend/src/components/userDetail/headerProfile.js
index af57d13bd5..6a9e969aa1 100644
--- a/frontend/src/components/userDetail/headerProfile.js
+++ b/frontend/src/components/userDetail/headerProfile.js
@@ -3,7 +3,7 @@ import { useSelector } from 'react-redux';
import { FormattedMessage, useIntl } from 'react-intl';
import messages from '../user/messages';
-import { TwitterIconNoBg, FacebookIcon, LinkedinIcon, ProfilePictureIcon } from '../svgIcons';
+import { TwitterIcon, FacebookIcon, LinkedinIcon, ProfilePictureIcon } from '../svgIcons';
import { MappingLevelMessage } from '../mappingLevel';
import { NextMappingLevel } from '../user/topBar';
import { UserOrganisations } from './userTeamsOrgs';
@@ -26,7 +26,7 @@ export const SocialMedia = ({ data }) => {
switch (field) {
case 'twitterId':
- return
;
+ return
;
case 'facebookId':
return
;
case 'linkedinId':