Merge branch 'develop' of https://gitlab.com/witel-front-end/loan-facilities/expert into feature/LFFE-12_synchronization_projects

This commit is contained in:
2023-11-05 16:08:28 +03:30
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ function DataTable(props) {
}).then((response) => response.data).catch(() => {
})
, {
revalidateIfStale: false,
revalidateIfStale: true,
revalidateOnFocus: false,
revalidateOnReconnect: true,
keepPreviousData: true

View File

@@ -8,7 +8,7 @@ const layoutList = {
const Layout = ({layout = {}, children}) => {
const Component = layoutList[layout?.name] || Fragment
const props = layout.props || {}
const props = layout?.props || {}
return (
<Component {...props}>