unify requests

This commit is contained in:
Alex Holliday
2026-01-14 20:11:05 +00:00
parent 4ad09fad4f
commit 2b0c523047
2 changed files with 2 additions and 18 deletions
@@ -13,10 +13,7 @@ import { useTheme } from "@emotion/react";
import { useEffect, useState } from "react";
import { useIsAdmin } from "@/Hooks/useIsAdmin.js";
import { useTranslation } from "react-i18next";
import {
useFetchMonitorsByTeamId,
useFetchMonitorsWithChecks,
} from "@/Hooks/monitorHooks.js";
import { useFetchMonitorsWithChecks } from "@/Hooks/monitorHooks.js";
import { useDispatch, useSelector } from "react-redux";
import { setRowsPerPage } from "../../../Features/UI/uiSlice.js";
+1 -14
View File
@@ -11,10 +11,7 @@ import FallbackPageSpeedWarning from "@/Components/v1/Fallback/FallbackPageSpeed
// Utils
import { useTheme } from "@emotion/react";
import { useIsAdmin } from "@/Hooks/useIsAdmin.js";
import {
useFetchMonitorsByTeamId,
useFetchMonitorsWithChecks,
} from "@/Hooks/monitorHooks.js";
import { useFetchMonitorsWithChecks } from "@/Hooks/monitorHooks.js";
import { useFetchSettings } from "@/Hooks/settingsHooks.js";
// Constants
const BREADCRUMBS = [{ name: `pagespeed`, path: "/pagespeed" }];
@@ -23,16 +20,6 @@ const PageSpeed = () => {
const theme = useTheme();
const isAdmin = useIsAdmin();
// const [monitors, monitorsSummary, isLoading, networkError] = useFetchMonitorsByTeamId({
// limit: 10,
// types: TYPES,
// page: null,
// rowsPerPage: null,
// filter: null,
// field: null,
// order: null,
// });
const [
monitorsWithChecks,
monitorsWithChecksCount,