From d447acfce27661528ff64d1e253aefb1072cdc65 Mon Sep 17 00:00:00 2001 From: Poleg Kashti Date: Sat, 26 Oct 2024 20:13:23 +0300 Subject: [PATCH] Fix(List.tsx): remove unused variable --- frontend/src/components/ACLPage/List/List.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/ACLPage/List/List.tsx b/frontend/src/components/ACLPage/List/List.tsx index e3c1d3501..9808a6c1c 100644 --- a/frontend/src/components/ACLPage/List/List.tsx +++ b/frontend/src/components/ACLPage/List/List.tsx @@ -28,7 +28,7 @@ import * as S from './List.styled'; const ACList: React.FC = () => { const { clusterName } = useAppParams<{ clusterName: ClusterName }>(); - const [searchParams, setSearchParams] = useSearchParams(); + const [searchParams] = useSearchParams(); const [search, setSearch] = useState(searchParams.get('q') || ''); const { data: aclList } = useAcls({ clusterName, search }); const { deleteResource } = useDeleteAcl(clusterName);