mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-10-26 19:03:08 +00:00
chore: add skeletons to tables and loading.tsx files for routes and run formatting ♻️
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 12m20s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 12m20s
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Suspense } from "react";
|
||||
import DevicesTableSkeleton from "@/components/device-table-skeleton";
|
||||
import DynamicFilter from "@/components/generic-filter";
|
||||
import { TopupsTable } from "@/components/topups-table";
|
||||
|
||||
@@ -78,7 +79,15 @@ export default async function Topups({
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<Suspense key={query} fallback={"loading...."}>
|
||||
<Suspense
|
||||
key={query}
|
||||
fallback={
|
||||
<DevicesTableSkeleton
|
||||
headers={["Details", "Status", "Amount"]}
|
||||
length={10}
|
||||
/>
|
||||
}
|
||||
>
|
||||
<TopupsTable searchParams={searchParams} />
|
||||
</Suspense>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user