{
) : (
// We need to have a span here to keep the space between the
// description and the chart (subgrid layout)
-
+
)}
((theme) => ({
display: "grid",
gridTemplateRows: "subgrid",
gridRow: shouldShowDebugPanel() ? "span 7" : "span 6",
+ rowGap: 0,
padding: theme.spacing(6),
backgroundColor: theme.palette.background.paper,
border: "1px solid",
diff --git a/app/components/visually-hidden.tsx b/app/components/visually-hidden.tsx
index 4081270c10..d2c208edb8 100644
--- a/app/components/visually-hidden.tsx
+++ b/app/components/visually-hidden.tsx
@@ -1,7 +1,7 @@
import { Box } from "@mui/material";
import { visuallyHidden } from "@mui/utils";
-const VisuallyHidden = ({ children }: { children: React.ReactNode }) => {
+const VisuallyHidden = ({ children }: { children?: React.ReactNode }) => {
// @ts-ignore - I do not know why CSSProperties do not go directly into sx. It works.
return {children};
};