import { PaymentsTable } from "@/components/payments-table"; import Search from "@/components/search"; import { Suspense } from "react"; export default async function Devices({ searchParams, }: { searchParams: Promise<{ query: string; page: number; sortBy: string; status: string; }>; }) { const query = (await searchParams)?.query || ""; return (