Merge branch 'develop' of https://gitlab.com/witel3/loan-facilities-expert into develop
This commit is contained in:
@@ -7,7 +7,6 @@ import {Typography} from "@mui/material";
|
||||
import MaterialReactTable from "material-react-table";
|
||||
import axios from "axios";
|
||||
import useUser from "@/lib/app/hooks/useUser";
|
||||
import {css} from "@emotion/react";
|
||||
|
||||
function DataTable(props) {
|
||||
const {token} = useUser();
|
||||
@@ -86,7 +85,9 @@ function DataTable(props) {
|
||||
]);
|
||||
|
||||
const {data, isValidating, mutate} = useSWR(fetchUrl, fetcher, {
|
||||
revalidateIfStale: false,
|
||||
revalidateOnFocus: false,
|
||||
revalidateOnReconnect: false
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user