import { DevicesTable } from "@/components/devices-table"; import Search from "@/components/search"; import { Button } from "@/components/ui/button"; import React, { Suspense } from "react"; export default async function Devices({ searchParams, }: { searchParams: Promise<{ query: string; page: number; sortBy: string; status: string; }>; }) { return (