♻️ some refactors

This commit is contained in:
Fred KISSIE
2025-12-02 19:08:35 +01:00
parent 06a31bb716
commit c93ab34021
4 changed files with 79 additions and 267 deletions

View File

@@ -130,8 +130,10 @@ export default function UserDevicesTable({ userClients }: ClientTableProps) {
});
})
.then(() => {
router.refresh();
setIsDeleteModalOpen(false);
startTransition(() => {
router.refresh();
setIsDeleteModalOpen(false);
});
});
};