fix: resolve failing CI checks

This commit is contained in:
nikhil2004 committed 2026-09-22 04:42:32 +05:30
1 parent de4c528d55
commit 55184724d0
7 files changed
+41 -15

No files matched your search

@@ -5,6 +5,7 @@ import Stack from "@mui/material/Stack";
import type { SxProps, Theme } from "@mui/material/styles";
import { useTranslation } from "react-i18next";
import { formatMs } from "@/Utils/TimeUtils";
import { mergeSx } from "@/Pages/StatusPage/Status/themes/shared/sx";
import type {
BarKind,
@@ -42,17 +43,17 @@ export const ThemedHistogram = ({
return (
<Stack gap={statsGap}>
<Box
sx={[containerSx, { gridTemplateColumns: `repeat(${cells.length}, 1fr)` }]}
sx={mergeSx(containerSx, { gridTemplateColumns: `repeat(${cells.length}, 1fr)` })}
>
{cells.map((cell) => {
if (cell.barKind === "empty") {
return (
<Box
key={cell.key}
sx={[
sx={mergeSx(
barSx("empty", cell.heightPct),
!!cell.date && !!onCellClick ? { cursor: "pointer" } : undefined
]}
)}
onClick={() => {
if (cell.date && onCellClick) {
onCellClick(cell.date);
@@ -69,10 +70,10 @@ export const ThemedHistogram = ({
placement="top"
>
<Box
sx={[
sx={mergeSx(
barSx(cell.barKind, cell.heightPct, cell.severity),
!!cell.date && !!onCellClick ? { cursor: "pointer" } : undefined
]}
)}
aria-label={cell.ariaLabel}
onClick={() => {
if (cell.date && onCellClick) {