Skip to content

Commit 4bdedb9

Browse files
committed
cleanup
1 parent 05d1c3d commit 4bdedb9

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

src/components/StablecoinBoxGrid.tsx

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { useState } from "react"
22
import { useRouter } from "next/router"
33
import { useTranslation } from "next-i18next"
4-
import { FaExclamation } from "react-icons/fa6"
5-
import { HiOutlineSpeakerphone } from "react-icons/hi";
6-
import { Box, Flex, HStack,Icon,Text,useColorModeValue } from "@chakra-ui/react"
4+
import { Box, Flex, useColorModeValue } from "@chakra-ui/react"
75

86
import { ChildOnlyProp } from "@/lib/types"
97

@@ -41,7 +39,6 @@ interface ILink {
4139

4240
type GridItemProps = {
4341
description: string
44-
disclaimer: string
4542
columnNumber: number
4643
rowNumber: number
4744
emoji: string
@@ -68,23 +65,6 @@ const OpenTitle = ({ title }: { title: string }) => {
6865
)
6966
}
7067

71-
const Disclaimer = ({ disclaimer }: { disclaimer: string }) => {
72-
73-
return (
74-
<Box p={1} borderRadius={'5px'} bg={'warning'}>
75-
<HStack>
76-
<Icon as={HiOutlineSpeakerphone} />
77-
{/* <Icon fontWeight={300} fontSize={'sm'} as={FaExclamation} /> */}
78-
<Text fontSize="sm" fontWeight={400} >
79-
{disclaimer}
80-
</Text>
81-
</HStack>
82-
</Box>
83-
84-
)
85-
86-
}
87-
8868
const Title = ({ title }: { title: string }) => {
8969
return (
9070
<OldHeading
@@ -275,7 +255,6 @@ const GridItem = ({
275255

276256
export interface IPropsBoxItem {
277257
description: string
278-
disclaimer?: string
279258
emoji: string
280259
title: string
281260
pros?: Array<string>
@@ -320,7 +299,6 @@ const StablecoinBoxGrid = ({ items }: StablecoinBoxGridProps) => {
320299
title={item.title}
321300
emoji={item.emoji}
322301
description={item.description}
323-
disclaimer={item.disclaimer || ''}
324302
pros={item.pros}
325303
cons={item.cons}
326304
links={item.links}

0 commit comments

Comments
 (0)