import { useAccount } from '@gear-js/react-hooks';
import { useState } from 'react';
import { FilterGroup, Filters, Radio } from '@/features/filters';
import { Dns as DnsType, DnsCard, DnsCardPlaceholder, useDnsFilters, useDns, CreateDns } from '@/features/dns';
import { List, SearchForm, Skeleton } from '@/shared/ui';
import styles from './dns.module.scss';
const Dns = () => {
const { account } = useAccount();
const [searchQuery, setSearchQuery] = useState('');
const [filterValues, filterParams, handleFiltersSubmit] = useDnsFilters();
const [dns, count, isLoading, hasMore, fetchMore, refetch] = useDns(searchQuery, filterParams);
const renderDns = (dnsItem: DnsType) =>