diff --git a/new-log-viewer/src/components/CentralContainer/Sidebar/PanelTabs/FileInfoTab.tsx b/new-log-viewer/src/components/CentralContainer/Sidebar/PanelTabs/FileInfoTabPanel.tsx similarity index 90% rename from new-log-viewer/src/components/CentralContainer/Sidebar/PanelTabs/FileInfoTab.tsx rename to new-log-viewer/src/components/CentralContainer/Sidebar/PanelTabs/FileInfoTabPanel.tsx index 8cd5eaa0..67554a06 100644 --- a/new-log-viewer/src/components/CentralContainer/Sidebar/PanelTabs/FileInfoTab.tsx +++ b/new-log-viewer/src/components/CentralContainer/Sidebar/PanelTabs/FileInfoTabPanel.tsx @@ -19,11 +19,11 @@ import CustomTabPanel from "./CustomTabPanel"; /** - * Display the file name and original size of the selected file. + * Displays a panel containing the file name and original size of the selected file. * * @return */ -const FileInfoTab = () => { +const FileInfoTabPanel = () => { const {fileName, originalFileSizeInBytes} = useContext(StateContext); return ( @@ -49,4 +49,4 @@ const FileInfoTab = () => { ); }; -export default FileInfoTab; +export default FileInfoTabPanel; diff --git a/new-log-viewer/src/components/CentralContainer/Sidebar/PanelTabs/index.tsx b/new-log-viewer/src/components/CentralContainer/Sidebar/PanelTabs/index.tsx index 98f07954..bd6cbf1b 100644 --- a/new-log-viewer/src/components/CentralContainer/Sidebar/PanelTabs/index.tsx +++ b/new-log-viewer/src/components/CentralContainer/Sidebar/PanelTabs/index.tsx @@ -13,7 +13,7 @@ import SettingsOutlinedIcon from "@mui/icons-material/SettingsOutlined"; import {TAB_NAME} from "../../../../typings/tab"; import SettingsModal from "../../../modals/SettingsModal"; -import FileInfoTab from "./FileInfoTab"; +import FileInfoTabPanel from "./FileInfoTabPanel"; import TooltipTab from "./TooltipTab"; import "./index.css"; @@ -80,7 +80,7 @@ const PanelTabs = forwardRef(( tabName={TAB_NAME.SETTINGS} onTabButtonClick={handleTabButtonClick}/> - +