mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-29 14:48:47 +00:00
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:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user