From 3b28616f6308280fefa480daf399df0978193d99 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 17 Dec 2023 22:45:37 -0500 Subject: [PATCH] fix: types and getAvailableSites return val --- app/components/SitesCombobox.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/SitesCombobox.tsx b/app/components/SitesCombobox.tsx index 9084445..39de083 100644 --- a/app/components/SitesCombobox.tsx +++ b/app/components/SitesCombobox.tsx @@ -15,11 +15,11 @@ import { PopoverTrigger, } from "@/components/ui/popover"; import { ChevronDownIcon } from "@heroicons/react/24/solid"; -import useSWR from "swr"; import { getAvailableSites } from "@/utils"; +import { SelectOptions } from "@/types.js"; export function SitesCombobox() { - const { statuses } = getAvailableSites(); + const statuses = getAvailableSites(); const [open, setOpen] = React.useState(false); const [selectedStatus, setSelectedStatus] = React.useState(null);