From 93b974188f43a39daa7a617d7cfaf72f82def978 Mon Sep 17 00:00:00 2001 From: "C. Fuhrman" Date: Fri, 14 Feb 2025 21:29:45 -0500 Subject: [PATCH] Fix warning with illegal nesting (misnamed Footer) --- .../TableComponents/LiveResultsTableHeader.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/components/LiveResults/LiveResultsTable/TableComponents/LiveResultsTableHeader.tsx b/client/src/components/LiveResults/LiveResultsTable/TableComponents/LiveResultsTableHeader.tsx index fb4219b..d8d4159 100644 --- a/client/src/components/LiveResults/LiveResultsTable/TableComponents/LiveResultsTableHeader.tsx +++ b/client/src/components/LiveResults/LiveResultsTable/TableComponents/LiveResultsTableHeader.tsx @@ -1,12 +1,12 @@ -import { TableCell, TableHead, TableRow } from "@mui/material"; import React from "react"; +import { TableCell, TableHead, TableRow } from "@mui/material"; -interface LiveResultsFooterProps { +interface LiveResultsHeaderProps { maxQuestions: number; showSelectedQuestion: (index: number) => void; } -const LiveResultsTableFooter: React.FC = ({ +const LiveResultsTableHeader: React.FC = ({ maxQuestions, showSelectedQuestion, }) => { @@ -47,4 +47,4 @@ const LiveResultsTableFooter: React.FC = ({ ); }; -export default LiveResultsTableFooter; \ No newline at end of file +export default LiveResultsTableHeader;