Merge branch 'feat/search-component' of github.com:bluewave-labs/bluewave-uptime into feat/search-component

This commit is contained in:
Daniel Cojocea
2024-09-18 20:28:54 -04:00

View File

@@ -106,7 +106,7 @@ TablePaginationActions.propTypes = {
onPageChange: PropTypes.func.isRequired,
};
const MonitorTable = memo(({ isAdmin }) => {
const MonitorTable = ({ isAdmin }) => {
const theme = useTheme();
const navigate = useNavigate();
const dispatch = useDispatch();
@@ -335,10 +335,11 @@ const MonitorTable = memo(({ isAdmin }) => {
</Stack>
</>
);
});
};
MonitorTable.propTypes = {
isAdmin: PropTypes.bool,
};
export default MonitorTable;
const MemoizedMonitorTable = memo(MonitorTable);
export default MemoizedMonitorTable;