diff --git a/src/components/credito/DespesaCartaoForm.tsx b/src/components/credito/DespesaCartaoForm.tsx index beab68f..c6d002e 100644 --- a/src/components/credito/DespesaCartaoForm.tsx +++ b/src/components/credito/DespesaCartaoForm.tsx @@ -4,7 +4,7 @@ import { useForm } from 'react-hook-form'; import { zodResolver } from '@hookform/resolvers/zod'; import * as z from 'zod'; import { useToast } from '@/components/ui/use-toast'; -import { criarDespesa } from '@/services/cartao/despesasService'; +import { criarDespesa } from '@/services/cartao/despesas'; // Updated import path import { Form, FormControl, diff --git a/src/hooks/useDespesaCartaoForm.ts b/src/hooks/useDespesaCartaoForm.ts index 2a40721..ac0da26 100644 --- a/src/hooks/useDespesaCartaoForm.ts +++ b/src/hooks/useDespesaCartaoForm.ts @@ -5,7 +5,7 @@ import { zodResolver } from '@hookform/resolvers/zod'; import * as z from 'zod'; import { useToast } from '@/hooks/use-toast'; import { CartaoCredito } from '@/types/cartaoTypes'; -import { criarDespesa } from '@/services/cartao/despesasService'; +import { criarDespesa } from '@/services/cartao/despesas'; // Updated import path import { format } from 'date-fns'; const despesaCartaoSchema = z.object({