From 33b5118aa15133a1d2480664296cf3e7fb391f27 Mon Sep 17 00:00:00 2001 From: a2937 Date: Sat, 9 Sep 2023 05:44:06 -0400 Subject: [PATCH] fix: Use new Twitter icon (#51511) --- .../components/profile/__snapshots__/profile.test.tsx.snap | 6 +++--- client/src/components/profile/components/social-icons.tsx | 4 ++-- client/src/components/share/share-template.tsx | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/src/components/profile/__snapshots__/profile.test.tsx.snap b/client/src/components/profile/__snapshots__/profile.test.tsx.snap index 0fe999bf8aa..d5dd774d07a 100644 --- a/client/src/components/profile/__snapshots__/profile.test.tsx.snap +++ b/client/src/components/profile/__snapshots__/profile.test.tsx.snap @@ -245,8 +245,8 @@ exports[` renders correctly 1`] = ` > renders correctly 1`] = ` xmlns="http://www.w3.org/2000/svg" > diff --git a/client/src/components/profile/components/social-icons.tsx b/client/src/components/profile/components/social-icons.tsx index 01c63c7e555..e3094a5a439 100644 --- a/client/src/components/profile/components/social-icons.tsx +++ b/client/src/components/profile/components/social-icons.tsx @@ -1,7 +1,7 @@ import { faLinkedin, faGithub, - faTwitter + faXTwitter } from '@fortawesome/free-brands-svg-icons'; import { faLink } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; @@ -71,7 +71,7 @@ function TwitterIcon(handle: string, username: string): JSX.Element { rel='noopener noreferrer' target='_blank' > - + ); } diff --git a/client/src/components/share/share-template.tsx b/client/src/components/share/share-template.tsx index 0426b8738eb..21e02eb12d1 100644 --- a/client/src/components/share/share-template.tsx +++ b/client/src/components/share/share-template.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; -import { faTwitter } from '@fortawesome/free-brands-svg-icons'; +import { faXTwitter } from '@fortawesome/free-brands-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { ShareRedirectProps } from './types'; @@ -17,7 +17,7 @@ export const ShareTemplate: React.ComponentType = ({ rel='noreferrer' >