diff --git a/src/components/LinkDevice/blocks/Filters.tsx b/src/components/LinkDevice/blocks/Filters.tsx index d9387a0..01c75cf 100644 --- a/src/components/LinkDevice/blocks/Filters.tsx +++ b/src/components/LinkDevice/blocks/Filters.tsx @@ -1,9 +1,7 @@ -import { useMemo } from "react"; import { Search, Select } from "@deskpro/app-sdk"; -import { getOptions } from "@/utils"; import { Label } from "@/components/common"; import type { FC } from "react"; -import type { Maybe,Option } from "@/types"; +import type { Maybe, Option } from "@/types"; import type { Site } from "@/services/lansweeper/types"; type Props = { @@ -15,7 +13,12 @@ type Props = { }; const Filters: FC = ({ sites, siteId, isFetching, onChangeSearchQuery, onChangeSite }) => { - const options = useMemo(() => getOptions(sites, "brandingName"), [sites]) as Array