LFFE-16 Merge branch 'bugfix/LFFE-16_swr_datatable' into 'develop'

This commit is contained in:
AmirHossein Mahmoodi
2023-11-05 12:34:04 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,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}>