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

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