fix: remove shouldRender prop as it is now managed by isLoading
This commit is contained in:
1 parent
87ccc93ff9
commit
738925d5ec
1 file changed
+2
-2
@@ -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={{
|
||||
|
||||
Reference in new issue
Block a user