Skip to content

Commit b39812b

Browse files
committed
fix: remove unused import
Removes unused imports from `what-is-ethereum`, some of which are no longer available (`StatLoadingMessage`)
1 parent a402b68 commit b39812b

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

src/pages/what-is-ethereum.tsx

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { GetStaticProps } from "next"
22
import { useRouter } from "next/router"
33
import { SSRConfig, useTranslation } from "next-i18next"
44
import { serverSideTranslations } from "next-i18next/serverSideTranslations"
5-
import { MdInfoOutline } from "react-icons/md"
65
import {
76
Box,
87
type BoxProps,
@@ -11,7 +10,6 @@ import {
1110
type FlexProps,
1211
Heading,
1312
type HeadingProps,
14-
Icon,
1513
ListItem,
1614
UnorderedList,
1715
} from "@chakra-ui/react"
@@ -24,13 +22,7 @@ import {
2422
import type { ChildOnlyProp, Lang } from "@/lib/types"
2523

2624
import AdoptionChart from "@/components/AdoptionChart"
27-
import {
28-
Banner,
29-
BannerBody,
30-
BannerGrid,
31-
BannerGridCell,
32-
BannerImage,
33-
} from "@/components/BannerGrid"
25+
import { Banner, BannerImage } from "@/components/BannerGrid"
3426
import Button from "@/components/Buttons/Button"
3527
import ButtonLink from "@/components/Buttons/ButtonLink"
3628
import Callout from "@/components/Callout"
@@ -44,10 +36,7 @@ import Text from "@/components/OldText"
4436
import PageMetadata from "@/components/PageMetadata"
4537
import { StandaloneQuizWidget } from "@/components/Quiz/QuizWidget"
4638
import Slider, { EmblaSlide } from "@/components/Slider"
47-
import StatErrorMessage from "@/components/StatErrorMessage"
48-
import StatLoadingMessage from "@/components/StatLoadingMessage"
4939
import Tabs from "@/components/Tabs"
50-
import Tooltip from "@/components/Tooltip"
5140
import Translation from "@/components/Translation"
5241

5342
import { getLastDeployDate } from "@/lib/utils/getLastDeployDate"
@@ -663,7 +652,9 @@ const WhatIsEthereumPage = () => {
663652
<Width60>
664653
<H2>{t("page-what-is-ethereum-energy-title")}</H2>
665654
<Text>{t("page-what-is-ethereum-energy-desc-1")}</Text>
666-
<Text><Translation id="page-what-is-ethereum:page-what-is-ethereum-energy-desc-2"/></Text>
655+
<Text>
656+
<Translation id="page-what-is-ethereum:page-what-is-ethereum-energy-desc-2" />
657+
</Text>
667658
<ButtonRow>
668659
<ButtonLink to="/energy-consumption/">
669660
{t("page-what-is-ethereum-more-on-energy-consumption")}

0 commit comments

Comments
 (0)