-
-
-
- {prefixIcon && (
-
- {prefixIcon}
-
- )}
-
-
-
- {clearable && value && (
-
- )}
-
-
-
-
{error && (
{error.message as string}
diff --git a/src/components/Tables/companies/CompanyListFilters.tsx b/src/components/Tables/companies/CompanyListFilters.tsx
index 90e0259..a35c6ab 100644
--- a/src/components/Tables/companies/CompanyListFilters.tsx
+++ b/src/components/Tables/companies/CompanyListFilters.tsx
@@ -5,6 +5,7 @@ import { Select } from "@/components/FormElements/select";
import { Button } from "@/components/ui-elements/button";
import InlineListFiltersPanel from "@/components/ui/InlineListFiltersPanel";
import { Currencies } from "@/constants/enums";
+import { useMemo } from "react";
import {
FieldValues,
UseFormHandleSubmit,
@@ -12,7 +13,6 @@ import {
UseFormSetValue,
UseFormWatch,
} from "react-hook-form";
-import { useMemo } from "react";
interface CompanyListFiltersProps {
filterRegister: UseFormRegister;
@@ -60,7 +60,6 @@ const CompanyListFilters = ({
return (
-
-
+
+
{title}
@@ -198,7 +198,7 @@ export default function InlineListFiltersPanel({
-
+
{activeFilterCount > 0 ? (
@@ -206,7 +206,7 @@ export default function InlineListFiltersPanel({
) : (
-
+
No filters applied
)}