import { DevicesTable } from "@/components/devices-table"; import Filter from "@/components/filter"; import Search from "@/components/search"; import AddDeviceDialogForm from "@/components/user/add-device-dialog"; import { getCurrentUser } from "@/lib/auth-utils"; import { AArrowDown, AArrowUp } from "lucide-react"; import React, { Suspense } from "react"; const sortfilterOptions = [ { value: 'asc', label: 'Ascending', icon: , }, { value: 'desc', label: 'Descending', icon: , }, ] export default async function Devices({ searchParams, }: { searchParams: Promise<{ query: string; page: number; sortBy: string; status: string; }>; }) { const query = (await searchParams)?.query || ""; const user = await getCurrentUser() return (

My Devices

); }