File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -9,26 +9,23 @@ import InlineLink from "../Link"
9
9
// TODO add Translation
10
10
// import Translation from "../Translation"
11
11
12
+ // Utils
13
+ import { getLocaleForNumberFormat } from "@/lib/utils/translations"
14
+
15
+ // Types
16
+ import { Lang } from "@/lib/types"
17
+
12
18
// Data
13
19
import NetworkUpgradeSummaryData from "../../data/NetworkUpgradeSummaryData"
14
20
15
- // Utils
16
- // TODO
17
- // import { Lang } from "../../utils/languages"
18
- // TODO
19
- // import { getLocaleForNumberFormat } from "../../utils/translations"
20
-
21
21
interface IProps {
22
22
name : string
23
23
}
24
24
25
25
const NetworkUpgradeSummary : React . FC < IProps > = ( { name } ) => {
26
26
const [ formattedUTC , setFormattedUTC ] = useState ( "" )
27
-
28
27
const { locale } = useRouter ( )
29
-
30
- // const localeForStatsBoxNumbers = getLocaleForNumberFormat(language as Lang)
31
- const localeForStatsBoxNumbers = "en"
28
+ const localeForStatsBoxNumbers = getLocaleForNumberFormat ( locale as Lang )
32
29
33
30
const {
34
31
dateTimeAsString,
You can’t perform that action at this time.
0 commit comments