1
1
import { useState } from "react"
2
2
import { useRouter } from "next/router"
3
3
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"
7
5
8
6
import { ChildOnlyProp } from "@/lib/types"
9
7
@@ -41,7 +39,6 @@ interface ILink {
41
39
42
40
type GridItemProps = {
43
41
description : string
44
- disclaimer : string
45
42
columnNumber : number
46
43
rowNumber : number
47
44
emoji : string
@@ -68,23 +65,6 @@ const OpenTitle = ({ title }: { title: string }) => {
68
65
)
69
66
}
70
67
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
-
88
68
const Title = ( { title } : { title : string } ) => {
89
69
return (
90
70
< OldHeading
@@ -275,7 +255,6 @@ const GridItem = ({
275
255
276
256
export interface IPropsBoxItem {
277
257
description : string
278
- disclaimer ?: string
279
258
emoji : string
280
259
title : string
281
260
pros ?: Array < string >
@@ -320,7 +299,6 @@ const StablecoinBoxGrid = ({ items }: StablecoinBoxGridProps) => {
320
299
title = { item . title }
321
300
emoji = { item . emoji }
322
301
description = { item . description }
323
- disclaimer = { item . disclaimer || '' }
324
302
pros = { item . pros }
325
303
cons = { item . cons }
326
304
links = { item . links }
0 commit comments