mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: update connector page
This commit is contained in:
@@ -2,6 +2,7 @@ import React, {useEffect, useState} from "react";
|
||||
import {Collapse, Divider, Table, Typography} from "antd";
|
||||
import {getTldList, Tld} from "../../utils/api";
|
||||
import {t} from 'ttag'
|
||||
import {regionNames} from "../../i18n";
|
||||
|
||||
const {Text, Paragraph} = Typography
|
||||
|
||||
@@ -23,10 +24,6 @@ const getCountryCode = (tld: string): string => {
|
||||
return tld
|
||||
}
|
||||
|
||||
const locale = navigator.language.split('-')[0]
|
||||
const regionNames = new Intl.DisplayNames([locale], {type: 'region'})
|
||||
|
||||
|
||||
function TldTable(filters: FiltersType) {
|
||||
const [dataTable, setDataTable] = useState<Tld[]>([])
|
||||
const [total, setTotal] = useState(0)
|
||||
|
||||
Reference in New Issue
Block a user