recent checks

This commit is contained in:
Alex Holliday committed 2026-01-27 19:23:34 +00:00
1 parent 420ff292d9
commit 5731283c46
12 files changed
+72 -42

No files matched your search

@@ -1,6 +1,6 @@
import { BaseChart } from "@/Components/v2/design-elements";
import { FileText } from "lucide-react";
import type { Check, CheckAudits } from "@/Types/Check";
import type { CheckAudits, CheckSnapshot } from "@/Types/Check";
import { Pie, PieChart, ResponsiveContainer, Label } from "recharts";
import Typography from "@mui/material/Typography";
import Box from "@mui/material/Box";
@@ -30,7 +30,7 @@ const CenterLabel = ({ viewBox, value }: any) => {
);
};
export const PiePageSpeed = ({ latestCheck }: { latestCheck?: Check }) => {
export const PiePageSpeed = ({ latestCheck }: { latestCheck?: CheckSnapshot }) => {
const { t } = useTranslation();
const theme = useTheme();
const [hoverTitle, setHoverTitle] = useState<string | null>(null);