Fix proptype errors, remove old alert reference

This commit is contained in:
Alex Holliday committed 2024-09-26 10:42:03 +08:00
1 parent 7454e8812e
commit 09fb5595ab
3 files changed
+17 -13

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ const PageSpeedDetails = ({ isAdmin }) => {
normalize: null,
});
setMonitor(res?.data?.data ?? {});
setAudits(res?.data?.data?.checks?.[0]?.audits ?? []);
setAudits(res?.data?.data?.checks?.[0]?.audits ?? {});
} catch (error) {
logger.error(logger);
navigate("/not-found", { replace: true });