diff --git a/components/filters/FilterControls.tsx b/components/filters/FilterControls.tsx index d55386ddc9..fca3669405 100644 --- a/components/filters/FilterControls.tsx +++ b/components/filters/FilterControls.tsx @@ -1,9 +1,10 @@ "use client"; -import { Button } from "@nextui-org/react"; import { useRouter, useSearchParams } from "next/navigation"; import React, { useCallback, useEffect, useState } from "react"; +import { CrossIcon } from "../icons"; +import { CustomButton } from "../ui/custom"; import { CustomAccountSelection } from "./CustomAccountSelection"; import { CustomCheckboxMutedFindings } from "./CustomCheckboxMutedFindings"; import { CustomDatePicker } from "./CustomDatePicker"; @@ -59,15 +60,16 @@ export const FilterControls: React.FC = ({ {mutedFindings && } {showClearButton && ( - + Reset + )} ); diff --git a/components/icons/Icons.tsx b/components/icons/Icons.tsx index 7d11f620aa..1d2b8d4b1a 100644 --- a/components/icons/Icons.tsx +++ b/components/icons/Icons.tsx @@ -305,28 +305,31 @@ export const WifiPendingIcon: React.FC = ({ ); export const DeleteIcon: React.FC = ({ - size = 24, - width, + size, height, + width, ...props -}) => ( - -); +}) => { + return ( + + ); +}; export const CheckIcon: React.FC = ({ size = 24,