Merge branch 'MVPTN-64' into release(MVP/Sprint3)
This commit is contained in:
commit
e241b4062c
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 { Methods } from "@/services/api/enums/ApiMethodEnum";
|
||||
|
||||
export default async function GTBRegimeComunhaoIndexData(): Promise<GTBRegimeComunhaoInterface> {
|
||||
export default async function GTBRegimeComunhaoIndexData() {
|
||||
|
||||
const api = new API();
|
||||
|
||||
|
|
|
|||
|
|
@ -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 () => {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue