import { isHex } from '@polkadot/util'; import { useState } from 'react'; import { IssueVoucher, Vouchers as VouchersFeature, VoucherFilters, useVoucherFilters, useVouchers, } from '@/features/voucher'; import { SearchForm } from '@/shared/ui'; import styles from './vouchers.module.scss'; const Vouchers = () => { const [searchQuery, setSearchQuery] = useState(''); const [filterParams, handleFiltersSubmit] = useVoucherFilters(); const [vouchers, count, isLoading, hasMore, fetchMore, refetch] = useVouchers(searchQuery, filterParams); return (