From 982ed7d562d4b18051fc5d906275836ab9e35ca8 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 7 Apr 2026 15:15:43 +0200 Subject: [PATCH] Customers --- .../web/update/controllers/use-customer-update.controller.ts | 2 +- .../src/web/update/ui/components/customer-editor-skeleton.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/customers/src/web/update/controllers/use-customer-update.controller.ts b/modules/customers/src/web/update/controllers/use-customer-update.controller.ts index 3e0d4a92..f6979fa2 100644 --- a/modules/customers/src/web/update/controllers/use-customer-update.controller.ts +++ b/modules/customers/src/web/update/controllers/use-customer-update.controller.ts @@ -40,7 +40,7 @@ export const useCustomerUpdateController = ( isLoading, isError: isLoadError, error: loadError, - } = useCustomerGetQuery(customerId, { enabled: Boolean(customerId) }); + } = useCustomerGetQuery({ id: customerId, enabled: Boolean(customerId) }); // 2) Estado de creación (mutación) const { diff --git a/modules/customers/src/web/update/ui/components/customer-editor-skeleton.tsx b/modules/customers/src/web/update/ui/components/customer-editor-skeleton.tsx index e99da2ca..fd6349b2 100644 --- a/modules/customers/src/web/update/ui/components/customer-editor-skeleton.tsx +++ b/modules/customers/src/web/update/ui/components/customer-editor-skeleton.tsx @@ -1,4 +1,3 @@ -// components/CustomerSkeleton.tsx import { AppContent, BackHistoryButton } from "@repo/rdx-ui/components"; import { Button } from "@repo/shadcn-ui/components";