Customers
This commit is contained in:
parent
dbd8f2b3f4
commit
982ed7d562
@ -40,7 +40,7 @@ export const useCustomerUpdateController = (
|
|||||||
isLoading,
|
isLoading,
|
||||||
isError: isLoadError,
|
isError: isLoadError,
|
||||||
error: loadError,
|
error: loadError,
|
||||||
} = useCustomerGetQuery(customerId, { enabled: Boolean(customerId) });
|
} = useCustomerGetQuery({ id: customerId, enabled: Boolean(customerId) });
|
||||||
|
|
||||||
// 2) Estado de creación (mutación)
|
// 2) Estado de creación (mutación)
|
||||||
const {
|
const {
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
// components/CustomerSkeleton.tsx
|
|
||||||
import { AppContent, BackHistoryButton } from "@repo/rdx-ui/components";
|
import { AppContent, BackHistoryButton } from "@repo/rdx-ui/components";
|
||||||
import { Button } from "@repo/shadcn-ui/components";
|
import { Button } from "@repo/shadcn-ui/components";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user