mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-04-20 03:50:20 +00:00
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 13m55s
35 lines
825 B
TypeScript
35 lines
825 B
TypeScript
import React from "react";
|
|
|
|
export default async function DeviceDetails({
|
|
params,
|
|
}: {
|
|
params: Promise<{ deviceId: string }>;
|
|
}) {
|
|
const deviceId = (await params)?.deviceId;
|
|
|
|
return null;
|
|
return (
|
|
<div>
|
|
<div className="flex flex-col justify-between items-start text-gray-500 title-bg py-4 px-2 mb-4">
|
|
<h3 className="text-2xl font-bold">{device?.name}</h3>
|
|
<span>{device?.mac}</span>
|
|
</div>
|
|
|
|
<div
|
|
id="user-filters"
|
|
className=" pb-4 gap-4 flex sm:flex-row flex-col items-start justify-start"
|
|
>
|
|
{/* <Search /> */}
|
|
{/* <Filter
|
|
options={sortfilterOptions}
|
|
defaultOption="asc"
|
|
queryParamKey="sortBy"
|
|
/> */}
|
|
</div>
|
|
{/* <Suspense key={query} fallback={"loading...."}>
|
|
<DevicesTable searchParams={searchParams} />
|
|
</Suspense> */}
|
|
</div>
|
|
);
|
|
}
|