feat: add loading skeleton for devices table and improve payment processing logic
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m30s

This commit is contained in:
2025-04-12 17:01:37 +05:00
parent 067acef49c
commit 0d578c9add
5 changed files with 95 additions and 27 deletions

View File

@ -25,7 +25,6 @@ export async function DevicesTable({
searchParams: Promise<{
query: string;
page: number;
sortBy: string;
}>;
parentalControl?: boolean;
}) {
@ -89,10 +88,6 @@ export async function DevicesTable({
</TableRow>
</TableFooter>
</Table>
<Pagination
totalPages={meta?.last_page}
currentPage={meta?.current_page}
/>
</div>
<div className="sm:hidden my-4">
{data?.map((device) => (
@ -103,6 +98,10 @@ export async function DevicesTable({
/>
))}
</div>
<Pagination
totalPages={meta?.last_page}
currentPage={meta?.current_page}
/>
</>
)}
</div>