[MVPTN-70] refactor(geral): implementando gerenciador de erro nos datas
This commit is contained in:
parent
04307a0aa4
commit
d3757c8ce3
3 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
import { useResponse } from "@/app/_response/ResponseContext"
|
import { useResponse } from "@/app/_response/ResponseContext"
|
||||||
import { use, useState } from "react";
|
import { use, useState } from "react";
|
||||||
import { GTBBairroInterface } from "../../_interfaces/GTBBairroInterface";
|
import { GTBBairroInterface } from "../../_interfaces/GTBBairroInterface";
|
||||||
import GTBBairroIndexService from "../../_services/g_tb_bairro/GTBBairroIndexService";
|
import { GTBBairroIndexService } from "../../_services/g_tb_bairro/GTBBairroIndexService";
|
||||||
|
|
||||||
export const useGTBBairroReadHook = () => {
|
export const useGTBBairroReadHook = () => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { useResponse } from "@/app/_response/ResponseContext"
|
import { useResponse } from "@/app/_response/ResponseContext"
|
||||||
import { GTBBairroInterface } from "../../_interfaces/GTBBairroInterface";
|
import { GTBBairroInterface } from "../../_interfaces/GTBBairroInterface";
|
||||||
import GTBBairroRemoveService from "../../_services/g_tb_bairro/GTBBairroRemoveService";
|
import { GTBBairroRemoveService } from "../../_services/g_tb_bairro/GTBBairroRemoveService";
|
||||||
|
|
||||||
export const useGTBBairroRemoveHook = () => {
|
export const useGTBBairroRemoveHook = () => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { useResponse } from "@/app/_response/ResponseContext"
|
import { useResponse } from "@/app/_response/ResponseContext"
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { GTBBairroInterface } from "../../_interfaces/GTBBairroInterface";
|
import { GTBBairroInterface } from "../../_interfaces/GTBBairroInterface";
|
||||||
import GTBBairroSaveService from "../../_services/g_tb_bairro/GTBBairroSaveService";
|
import { GTBBairroSaveService } from "../../_services/g_tb_bairro/GTBBairroSaveService";
|
||||||
|
|
||||||
export const useGTBBairroSaveHook = () => {
|
export const useGTBBairroSaveHook = () => {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue