[MVPTN-64] fix(Tipagem): Remoção das tipagem de saída
This commit is contained in:
parent
debe30dc71
commit
409b61a86e
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ import API from "@/services/api/Api";
|
||||||
import GTBRegimeComunhaoInterface from "../../_interfaces/GTBRegimeComunhaoInterface";
|
import GTBRegimeComunhaoInterface from "../../_interfaces/GTBRegimeComunhaoInterface";
|
||||||
import { Methods } from "@/services/api/enums/ApiMethodEnum";
|
import { Methods } from "@/services/api/enums/ApiMethodEnum";
|
||||||
|
|
||||||
export default async function GTBRegimeComunhaoIndexData(): Promise<GTBRegimeComunhaoInterface> {
|
export default async function GTBRegimeComunhaoIndexData() {
|
||||||
|
|
||||||
const api = new API();
|
const api = new API();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import GTBRegimeComunhaoIndexService from "../../_services/g_tb_regimecomunhao/G
|
||||||
export const useGTBRegimeComunhaoReadHook = () => {
|
export const useGTBRegimeComunhaoReadHook = () => {
|
||||||
|
|
||||||
const { setResponse } = useResponse();
|
const { setResponse } = useResponse();
|
||||||
const [gTBRegimeComunhao, setGTBRegimeComunhao] = useState<GTBRegimeComunhaoInterface | null>(null);
|
const [gTBRegimeComunhao, setGTBRegimeComunhao] = useState<GTBRegimeComunhaoInterface[]>([]);
|
||||||
|
|
||||||
const fetchGTBRegimeComunhao = async () => {
|
const fetchGTBRegimeComunhao = async () => {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue