import { Tab } from '@mui/material'; import { useContext } from 'react'; import { Navigate, Routes, Route } from 'react-router-dom'; import OTASettingsForm from './OTASettingsForm'; import SystemLog from './SystemLog'; import SystemStatusForm from './SystemStatusForm'; import UploadFileForm from './UploadFileForm'; import type { FC } from 'react'; import { useRouterTab, RouterTabs, useLayoutTitle, RequireAdmin } from 'components'; import { AuthenticatedContext } from 'contexts/authentication'; import { useI18nContext } from 'i18n/i18n-react'; const System: FC = () => { const { LL } = useI18nContext(); useLayoutTitle(LL.SYSTEM(0)); const { me } = useContext(AuthenticatedContext); const { routerTab } = useRouterTab(); return ( <> } /> } /> } /> } /> } /> ); }; export default System;