Skip to content

Commit 2b227be

Browse files
ymittalenjoyooor
authored andcommitted
fix lint
1 parent bc6e37e commit 2b227be

25 files changed

+107
-107
lines changed

src/components/CommunityEvents/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
import { DateTime, DateTimeFormatOptions } from "luxon"
2+
import { useRouter } from "next/router"
3+
import { useTranslation } from "next-i18next"
4+
import { FaDiscord } from "react-icons/fa"
15
import {
26
Box,
37
Center,
@@ -7,10 +11,6 @@ import {
711
GridItem,
812
Icon,
913
} from "@chakra-ui/react"
10-
import { DateTime, DateTimeFormatOptions } from "luxon"
11-
import { useTranslation } from "next-i18next"
12-
import { useRouter } from "next/router"
13-
import { FaDiscord } from "react-icons/fa"
1414

1515
import type { CommunityEvent } from "@/lib/interfaces"
1616

src/components/FileContributors.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1+
import { useState } from "react"
2+
import { useRouter } from "next/router"
13
import {
24
Avatar,
3-
Skeleton as ChakraSkeleton,
4-
SkeletonCircle as ChakraSkeletonCircle,
55
Flex,
66
FlexProps,
77
Heading,
88
ListItem,
99
ModalBody,
1010
ModalHeader,
11+
Skeleton as ChakraSkeleton,
12+
SkeletonCircle as ChakraSkeletonCircle,
1113
UnorderedList,
1214
VStack,
1315
} from "@chakra-ui/react"
14-
import { useRouter } from "next/router"
15-
import { useState } from "react"
1616

1717
import type { Author, Lang } from "@/lib/types"
1818

src/components/History/NetworkUpgradeSummary.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Flex, Stack, Text } from "@chakra-ui/react"
2-
import { useTranslation } from "next-i18next"
3-
import { useRouter } from "next/router"
41
import { useEffect, useState } from "react"
2+
import { useRouter } from "next/router"
3+
import { useTranslation } from "next-i18next"
4+
import { Flex, Stack, Text } from "@chakra-ui/react"
55

66
import type { Lang } from "@/lib/types"
77

src/components/Layer2/Layer2Onboard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import { useState } from "react"
2+
import { StaticImageData } from "next/image"
3+
import { useTranslation } from "next-i18next"
14
import {
25
Box,
36
chakra,
@@ -7,9 +10,6 @@ import {
710
Stack,
811
UnorderedList,
912
} from "@chakra-ui/react"
10-
import { useTranslation } from "next-i18next"
11-
import { StaticImageData } from "next/image"
12-
import { useState } from "react"
1313

1414
import type { ChildOnlyProp } from "@/lib/types"
1515

src/components/Layer2ProductCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Libraries
2-
import { Box, Center, Flex, Heading } from "@chakra-ui/react"
3-
import { useTranslation } from "next-i18next"
42
import { StaticImageData } from "next/image"
3+
import { useTranslation } from "next-i18next"
4+
import { Box, Center, Flex, Heading } from "@chakra-ui/react"
55

66
import { ButtonLink } from "@/components/Buttons"
77
import { Image } from "@/components/Image"

src/components/MeetupList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { useState } from "react"
2+
import { sortBy } from "lodash"
13
import {
24
Box,
35
Flex,
@@ -9,8 +11,6 @@ import {
911
useToken,
1012
VisuallyHidden,
1113
} from "@chakra-ui/react"
12-
import { sortBy } from "lodash"
13-
import { useState } from "react"
1414

1515
import Emoji from "@/components/Emoji"
1616
import InfoBanner from "@/components/InfoBanner"

src/components/RandomAppList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { shuffle } from "lodash"
21
import { useEffect, useState } from "react"
2+
import { shuffle } from "lodash"
33

44
import type { TranslationKey } from "@/lib/types"
55

src/components/StablecoinAccordion/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { useTranslation } from "next-i18next"
2+
import { MdArrowForward } from "react-icons/md"
13
import {
24
Accordion,
35
Box,
@@ -7,8 +9,6 @@ import {
79
LinkBox,
810
LinkOverlay,
911
} from "@chakra-ui/react"
10-
import { useTranslation } from "next-i18next"
11-
import { MdArrowForward } from "react-icons/md"
1212

1313
import { ChildOnlyProp, TranslationKey } from "@/lib/types"
1414

src/components/Staking/StakingStatsBox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Code, Flex, Icon, VStack } from "@chakra-ui/react"
2-
import { useTranslation } from "next-i18next"
31
import { useRouter } from "next/router"
2+
import { useTranslation } from "next-i18next"
43
import { MdInfoOutline } from "react-icons/md"
4+
import { Code, Flex, Icon, VStack } from "@chakra-ui/react"
55

66
import type { ChildOnlyProp, Lang, StakingStatsData } from "@/lib/types"
77

src/components/StatsBoxGrid/GridItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Box, Flex, Icon, Text, VStack } from "@chakra-ui/react"
21
import { kebabCase } from "lodash"
32
import { MdInfoOutline } from "react-icons/md"
43
import { Area, AreaChart, ResponsiveContainer, XAxis, YAxis } from "recharts"
4+
import { Box, Flex, Icon, Text, VStack } from "@chakra-ui/react"
55

66
import type { StatsBoxMetric } from "@/lib/types"
77

0 commit comments

Comments
 (0)