From 64c9882d8cc1226297c848236dd4c53be37d5a60 Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 10 Jan 2026 18:09:17 +0100 Subject: [PATCH] add children to avoid linting errors --- interface/src/components/ButtonRow.tsx | 4 ++-- interface/src/components/MessageBox.tsx | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/interface/src/components/ButtonRow.tsx b/interface/src/components/ButtonRow.tsx index 8fff5e161..562fd4b19 100644 --- a/interface/src/components/ButtonRow.tsx +++ b/interface/src/components/ButtonRow.tsx @@ -1,9 +1,9 @@ -import { memo } from 'react'; +import { type FC, type PropsWithChildren, memo } from 'react'; import { Box } from '@mui/material'; import type { BoxProps } from '@mui/material'; -const ButtonRow = memo(({ children, ...rest }) => ( +const ButtonRow: FC> = memo(({ children, ...rest }) => ( > = { @@ -28,7 +29,7 @@ const LEVEL_PALETTE_PATHS: Record = { error: 'error.dark' }; -const MessageBox: FC = ({ +const MessageBox: FC> = ({ level, message, sx,