Merge pull request #2588 from Jesulayomy/fe-monitor_config_pages

[Frontend]: Refactor PageSpeed monitor Create & Configure components
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-07-14 09:02:20 -07:00
commit bc436da263
7 files changed
+389 -539

No files matched your search

+4
View File
@@ -205,6 +205,10 @@ const useFetchStatsByMonitorId = ({
const useFetchMonitorById = ({ monitorId, setMonitor, updateTrigger }) => {
const [isLoading, setIsLoading] = useState(true);
useEffect(() => {
if (typeof monitorId === "undefined") {
setIsLoading(false);
return;
}
const fetchMonitor = async () => {
try {
setIsLoading(true);