fix: remove shouldRender prop as it is now managed by isLoading

This commit is contained in:
Amol committed 2025-06-15 15:29:48 +05:30
1 parent 87ccc93ff9
commit 738925d5ec
1 file changed
+2 -2
@@ -18,7 +18,7 @@ import PropTypes from "prop-types";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
const MonitorsTable = ({ const MonitorsTable = ({
shouldRender, isLoading,
monitors, monitors,
isAdmin, isAdmin,
handleActionMenuDelete, handleActionMenuDelete,
@@ -131,7 +131,7 @@ const MonitorsTable = ({
<Box position="relative"> <Box position="relative">
<LoadingSpinner shouldRender={isSearching} /> <LoadingSpinner shouldRender={isSearching} />
<DataTable <DataTable
shouldRender={shouldRender} shouldRender={!isLoading}
headers={headers} headers={headers}
data={data} data={data}
config={{ config={{