import { DevicesTable } from "@/components/devices-table"; import Search from "@/components/search"; import AddDeviceDialogForm from "@/components/user/add-device-dialog"; import { getCurrentUser } from "@/lib/auth-utils"; import React, { Suspense } from "react"; 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

); }