simplify UptimeDataTable

This commit is contained in:
Alex Holliday committed 2025-01-29 11:39:47 -08:00
1 parent 6788b5672e
commit ef28f8c38b
2 files changed
+41 -89

No files matched your search

@@ -1,9 +1,6 @@
import { Skeleton } from "@mui/material";
import PropTypes from "prop-types";
const UptimeDataTableSkeleton = ({ shouldRender }) => {
if (!shouldRender) return null;
const UptimeDataTableSkeleton = () => {
return (
<Skeleton
variant="rounded"
@@ -14,8 +11,4 @@ const UptimeDataTableSkeleton = ({ shouldRender }) => {
);
};
UptimeDataTableSkeleton.propTypes = {
shouldRender: PropTypes.bool.isRequired,
};
export default UptimeDataTableSkeleton;