chore: update dependencies in pnpm-lock.yaml and package.json, including zod to version 4.3.6, @dokploy/trpc-openapi to version 0.0.13, and @trpc packages to version 11.10.0; refactor loading state handling in application components

This commit is contained in:
Mauricio Siu
2026-02-23 23:50:55 -06:00
parent df648eccf6
commit 7c534d62b6
180 changed files with 717 additions and 828 deletions
@@ -15,9 +15,9 @@ import { AddCertificate } from "./add-certificate";
import { getCertificateChainInfo, getExpirationStatus } from "./utils";
export const ShowCertificates = () => {
const { mutateAsync, isLoading: isRemoving } =
const { mutateAsync, isPending: isRemoving } =
api.certificates.remove.useMutation();
const { data, isLoading, refetch } = api.certificates.all.useQuery();
const { data, isPending, refetch } = api.certificates.all.useQuery();
return (
<div className="w-full">
@@ -40,7 +40,7 @@ export const ShowCertificates = () => {
</AlertBlock>
</CardHeader>
<CardContent className="space-y-2 py-8 border-t">
{isLoading ? (
{isPending ? (
<div className="flex flex-row gap-2 items-center justify-center text-sm text-muted-foreground min-h-[25vh]">
<span>Loading...</span>
<Loader2 className="animate-spin size-4" />