From d3757c8ce3e987b71d5ebf4708a6f115ea558eab Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 25 Sep 2025 09:14:16 -0300 Subject: [PATCH] [MVPTN-70] refactor(geral): implementando gerenciador de erro nos datas --- .../cadastros/_hooks/g_tb_bairro/useGTBBairroReadHook.ts | 2 +- .../cadastros/_hooks/g_tb_bairro/useGTBBairroRemoveHook.ts | 2 +- .../cadastros/_hooks/g_tb_bairro/useGTBBairroSaveHook.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/(protected)/(cadastros)/cadastros/_hooks/g_tb_bairro/useGTBBairroReadHook.ts b/src/app/(protected)/(cadastros)/cadastros/_hooks/g_tb_bairro/useGTBBairroReadHook.ts index 2d4ebac..816efde 100644 --- a/src/app/(protected)/(cadastros)/cadastros/_hooks/g_tb_bairro/useGTBBairroReadHook.ts +++ b/src/app/(protected)/(cadastros)/cadastros/_hooks/g_tb_bairro/useGTBBairroReadHook.ts @@ -3,7 +3,7 @@ import { useResponse } from "@/app/_response/ResponseContext" import { use, useState } from "react"; import { GTBBairroInterface } from "../../_interfaces/GTBBairroInterface"; -import GTBBairroIndexService from "../../_services/g_tb_bairro/GTBBairroIndexService"; +import { GTBBairroIndexService } from "../../_services/g_tb_bairro/GTBBairroIndexService"; export const useGTBBairroReadHook = () => { diff --git a/src/app/(protected)/(cadastros)/cadastros/_hooks/g_tb_bairro/useGTBBairroRemoveHook.ts b/src/app/(protected)/(cadastros)/cadastros/_hooks/g_tb_bairro/useGTBBairroRemoveHook.ts index 00ed2d0..d50f468 100644 --- a/src/app/(protected)/(cadastros)/cadastros/_hooks/g_tb_bairro/useGTBBairroRemoveHook.ts +++ b/src/app/(protected)/(cadastros)/cadastros/_hooks/g_tb_bairro/useGTBBairroRemoveHook.ts @@ -1,6 +1,6 @@ import { useResponse } from "@/app/_response/ResponseContext" import { GTBBairroInterface } from "../../_interfaces/GTBBairroInterface"; -import GTBBairroRemoveService from "../../_services/g_tb_bairro/GTBBairroRemoveService"; +import { GTBBairroRemoveService } from "../../_services/g_tb_bairro/GTBBairroRemoveService"; export const useGTBBairroRemoveHook = () => { diff --git a/src/app/(protected)/(cadastros)/cadastros/_hooks/g_tb_bairro/useGTBBairroSaveHook.ts b/src/app/(protected)/(cadastros)/cadastros/_hooks/g_tb_bairro/useGTBBairroSaveHook.ts index ecd5d3f..3b6653f 100644 --- a/src/app/(protected)/(cadastros)/cadastros/_hooks/g_tb_bairro/useGTBBairroSaveHook.ts +++ b/src/app/(protected)/(cadastros)/cadastros/_hooks/g_tb_bairro/useGTBBairroSaveHook.ts @@ -1,7 +1,7 @@ import { useResponse } from "@/app/_response/ResponseContext" import { useState } from "react"; import { GTBBairroInterface } from "../../_interfaces/GTBBairroInterface"; -import GTBBairroSaveService from "../../_services/g_tb_bairro/GTBBairroSaveService"; +import { GTBBairroSaveService } from "../../_services/g_tb_bairro/GTBBairroSaveService"; export const useGTBBairroSaveHook = () => {