From 421182c272b024e865a75e1a402746707330ed77 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Tue, 2 Apr 2024 13:18:12 +0300 Subject: [PATCH] feat(management-table): remove search and filter --- .../ManagementTable/ManagementTable.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/pages/ValidatorManagement/ManagementTable/ManagementTable.tsx b/src/pages/ValidatorManagement/ManagementTable/ManagementTable.tsx index 62e6e375..ead87df8 100644 --- a/src/pages/ValidatorManagement/ManagementTable/ManagementTable.tsx +++ b/src/pages/ValidatorManagement/ManagementTable/ManagementTable.tsx @@ -1,9 +1,7 @@ import { useEffect, useMemo, useState } from 'react' -import { YStack, XStack } from 'tamagui' +import { YStack } from 'tamagui' import { VALIDATORS_DATA, VALIDATOR_TABS_MANAGEMENT } from '../../../constants' -import SearchManagement from './SearchManagement' -import DropdownFilter from './DropdownFilter' import ManagementTableHeader from './ManagementTableHeader' import ManagementTableBody from './ManagementTableBody' import './ManagementTable.module.css' @@ -11,7 +9,6 @@ import './ManagementTable.module.css' type ManagementTableProps = { tab: string searchValue: string - changeSearchValue: (value: string) => void } export type Validator = { @@ -53,7 +50,6 @@ const isValidNameOrAddress = ( const ManagementTable = ({ tab, searchValue, - changeSearchValue, }: ManagementTableProps) => { const [validators, setValidators] = useState([]) const [isAllSelected, setIsAllSelected] = useState(false) @@ -80,13 +76,6 @@ const ManagementTable = ({ return ( - - - -