File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { useEffect , useState } from "react"
2
2
import { useRouter } from "next/router"
3
3
import { useTranslation } from "next-i18next"
4
- import { Flex , Stack , Text } from "@chakra-ui/react"
5
4
6
5
import type { Lang } from "@/lib/types"
7
6
7
+ import { Flex , Stack } from "@/components/ui/flex"
8
+
8
9
import { getLocaleForNumberFormat } from "@/lib/utils/translations"
9
10
10
11
import NetworkUpgradeSummaryData from "../../data/NetworkUpgradeSummaryData"
@@ -48,7 +49,7 @@ const NetworkUpgradeSummary = ({ name }: NetworkUpgradeSummaryProps) => {
48
49
49
50
const blockTypeTranslation = ( translationKey , explorerUrl , number ) => {
50
51
return (
51
- < Flex whiteSpace = " pre-wrap">
52
+ < Flex className = "whitespace- pre-wrap">
52
53
< Emoji className = "me-2 text-sm" text = ":bricks:" />
53
54
{ t ( translationKey ) } :{ " " }
54
55
< InlineLink href = { `${ explorerUrl } ${ number } ` } >
@@ -63,7 +64,7 @@ const NetworkUpgradeSummary = ({ name }: NetworkUpgradeSummaryProps) => {
63
64
{ dateTimeAsString && (
64
65
< Flex >
65
66
< Emoji className = "me-2 text-sm" text = ":calendar:" />
66
- < Text fontFamily = " monospace"> { formattedUTC } </ Text >
67
+ < p className = "font- monospace"> { formattedUTC } </ p >
67
68
</ Flex >
68
69
) }
69
70
{ blockNumber &&
You can’t perform that action at this time.
0 commit comments