[MVPTN-64] fix(Tipagem): Remoção das tipagem de saída

This commit is contained in:
Keven Willian Pereira de Souza 2025-09-17 10:01:28 -03:00
parent debe30dc71
commit 409b61a86e
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ import API from "@/services/api/Api";
import GTBRegimeComunhaoInterface from "../../_interfaces/GTBRegimeComunhaoInterface";
import { Methods } from "@/services/api/enums/ApiMethodEnum";
export default async function GTBRegimeComunhaoIndexData(): Promise<GTBRegimeComunhaoInterface> {
export default async function GTBRegimeComunhaoIndexData() {
const api = new API();

View file

@ -6,7 +6,7 @@ import GTBRegimeComunhaoIndexService from "../../_services/g_tb_regimecomunhao/G
export const useGTBRegimeComunhaoReadHook = () => {
const { setResponse } = useResponse();
const [gTBRegimeComunhao, setGTBRegimeComunhao] = useState<GTBRegimeComunhaoInterface | null>(null);
const [gTBRegimeComunhao, setGTBRegimeComunhao] = useState<GTBRegimeComunhaoInterface[]>([]);
const fetchGTBRegimeComunhao = async () => {