Skip to content

Commit 36882de

Browse files
authored
Merge pull request #13515 from Shiva-Sai-ssb/fix-12379
Update: Twitter Icon [Fixes #12379]
2 parents 38b4ac2 + 1036d5a commit 36882de

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

src/components/FindWallet/WalletTable/WalletSocialLinks.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useRouter } from "next/router"
22
import { useTranslation } from "next-i18next"
3-
import { FaDiscord, FaGlobe, FaTwitter } from "react-icons/fa"
3+
import { FaDiscord, FaGlobe, FaXTwitter } from "react-icons/fa6"
44
import { Flex, Heading, Icon, Stack, Text } from "@chakra-ui/react"
55

66
import { Lang, WalletFilter } from "@/lib/types"
@@ -109,7 +109,7 @@ export const WalletSocialLinks = ({
109109
eventValue: JSON.stringify(filters),
110110
}}
111111
>
112-
<Icon as={FaTwitter} color="#1da1f2" fontSize="2xl" />
112+
<Icon as={FaXTwitter} color="#1da1f2" fontSize="2xl" />
113113
</SocialLink>
114114
)}
115115
</Flex>

src/components/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useTranslation } from "next-i18next"
2-
import { FaDiscord, FaGithub, FaTwitter } from "react-icons/fa"
2+
import { FaDiscord, FaGithub, FaXTwitter } from "react-icons/fa6"
33
import { IoChevronUpSharp } from "react-icons/io5"
44

55
import type { FooterLink, FooterLinkSection } from "@/lib/types"
@@ -21,7 +21,7 @@ const socialLinks = [
2121
ariaLabel: "GitHub",
2222
},
2323
{
24-
icon: FaTwitter,
24+
icon: FaXTwitter,
2525
href: "https://twitter.com/ethdotorg",
2626
ariaLabel: "Twitter",
2727
},

src/components/Quiz/QuizWidget/QuizButtonGroup.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type Dispatch, type SetStateAction, useMemo } from "react"
2-
import { FaTwitter } from "react-icons/fa"
2+
import { FaXTwitter } from "react-icons/fa6"
33
import { Center, Icon } from "@chakra-ui/react"
44

55
import type { AnswerChoice, Question, QuizKey, QuizStatus } from "@/lib/types"
@@ -148,7 +148,7 @@ export const QuizButtonGroup = ({
148148
>
149149
<Button
150150
variant="outline-color"
151-
leftIcon={<Icon as={FaTwitter} />}
151+
leftIcon={<Icon as={FaXTwitter} />}
152152
onClick={handleShare}
153153
>
154154
<Translation id="learn-quizzes:share-results" />

src/components/Quiz/QuizzesStats.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useRouter } from "next/router"
22
import { useTranslation } from "next-i18next"
3-
import { FaTwitter } from "react-icons/fa"
3+
import { FaXTwitter } from "react-icons/fa6"
44
import {
55
Box,
66
Circle,
@@ -97,7 +97,7 @@ const QuizzesStats = ({
9797
<GridItem justifySelf={{ lg: "end" }} order={{ base: 3, lg: 2 }}>
9898
<Button
9999
variant="outline"
100-
leftIcon={<FaTwitter />}
100+
leftIcon={<FaXTwitter />}
101101
onClick={() =>
102102
handleShare({
103103
score: totalCorrectAnswers,

src/components/SocialListItem.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import {
33
FaGlobe,
44
FaRedditAlien,
55
FaStackExchange,
6-
FaTwitter,
6+
FaXTwitter,
77
FaYoutube,
8-
} from "react-icons/fa"
8+
} from "react-icons/fa6"
99
import { Box, Flex, Icon } from "@chakra-ui/react"
1010

1111
const socialColors = {
@@ -18,7 +18,7 @@ const socialColors = {
1818

1919
const icons = {
2020
reddit: FaRedditAlien,
21-
twitter: FaTwitter,
21+
twitter: FaXTwitter,
2222
youtube: FaYoutube,
2323
discord: FaDiscord,
2424
stackExchange: FaStackExchange,

0 commit comments

Comments
 (0)