Skip to content

Commit 0902d99

Browse files
committed
Update:Twitter Icon
1 parent 1baf2d6 commit 0902d99

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"react-emoji-render": "^2.0.1",
6767
"react-hook-form": "^7.52.1",
6868
"react-i18next": "^13.3.1",
69-
"react-icons": "^4.10.1",
69+
"react-icons": "^5.2.1",
7070
"react-lite-youtube-embed": "^2.4.0",
7171
"react-select": "5.8.0",
7272
"reading-time": "^1.5.0",

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
import {
55
Box,
@@ -28,7 +28,7 @@ const socialLinks = [
2828
ariaLabel: "GitHub",
2929
},
3030
{
31-
icon: FaTwitter,
31+
icon: FaXTwitter,
3232
href: "https://twitter.com/ethdotorg",
3333
ariaLabel: "Twitter",
3434
},

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,

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12416,10 +12416,10 @@ react-i18next@^13.3.1:
1241612416
"@babel/runtime" "^7.22.5"
1241712417
html-parse-stringify "^3.0.1"
1241812418

12419-
react-icons@^4.10.1:
12420-
version "4.12.0"
12421-
resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.12.0.tgz#54806159a966961bfd5cdb26e492f4dafd6a8d78"
12422-
integrity sha512-IBaDuHiShdZqmfc/TwHu6+d6k2ltNCf3AszxNmjJc1KUfXdEeRJOKyNvLmAHaarhzGmTSVygNdyu8/opXv2gaw==
12419+
react-icons@^5.2.1:
12420+
version "5.2.1"
12421+
resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-5.2.1.tgz#28c2040917b2a2eda639b0f797bff1888e018e4a"
12422+
integrity sha512-zdbW5GstTzXaVKvGSyTaBalt7HSfuK5ovrzlpyiWHAFXndXTdd/1hdDHI4xBM1Mn7YriT6aqESucFl9kEXzrdw==
1242312423

1242412424
react-is@18.1.0:
1242512425
version "18.1.0"

0 commit comments

Comments
 (0)