From 6744ddbdd616f397ba441765ebaa192e9c89cd78 Mon Sep 17 00:00:00 2001 From: Max Ivanov Date: Tue, 23 Jul 2024 12:28:29 +0200 Subject: [PATCH] changed react.fc to FC --- dashboard/src/components/TablePaginationSection.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboard/src/components/TablePaginationSection.tsx b/dashboard/src/components/TablePaginationSection.tsx index 82e7f23..22724f2 100644 --- a/dashboard/src/components/TablePaginationSection.tsx +++ b/dashboard/src/components/TablePaginationSection.tsx @@ -1,6 +1,7 @@ import KeyboardArrowLeftIcon from "@mui/icons-material/KeyboardArrowLeft"; import KeyboardArrowRightIcon from "@mui/icons-material/KeyboardArrowRight"; import { Box, Button, IconButton, iconButtonClasses } from "@mui/joy"; +import { FC } from "react"; interface TablePaginationSectionProps { currentPage: number; @@ -8,7 +9,7 @@ interface TablePaginationSectionProps { onPageChange: (page: number) => void; } -export const TablePaginationSection: React.FC = ({ +export const TablePaginationSection: FC = ({ currentPage, pageCount, onPageChange,