From 4e5e013c975206bc3ffe34b70e0603b5a9f5d430 Mon Sep 17 00:00:00 2001 From: inmake Date: Tue, 30 Jan 2024 16:46:47 +0500 Subject: [PATCH] upd --- src/App.tsx | 2 +- src/MonitoringPage.tsx | 272 ----------------------------------------- src/main.tsx | 7 +- 3 files changed, 2 insertions(+), 279 deletions(-) delete mode 100644 src/MonitoringPage.tsx diff --git a/src/App.tsx b/src/App.tsx index 48789ab..6697e55 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -212,7 +212,7 @@ function App() { - - - )) - ) : ( -

Нет запущенных сессий

- )} - - - ) : ( - setPin(e.target.value)} - className="w-fit rounded outline-none px-3 py-2" - /> - )} - - ); -} - -export default MonitoringPage; diff --git a/src/main.tsx b/src/main.tsx index baa27a5..0961f0b 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -6,10 +6,9 @@ import { RouterProvider, } from "react-router-dom"; import "./index.css"; -import App from "./App"; import "./i18n"; +import App from "./App"; import StreamPage from "./StreamPage"; -import MonitoringPage from "./MonitoringPage"; import HistoryPage from "./HistoryPage"; import ScheduledPage from "./ScheduledPage"; import CalendarPage from "./CalendarPage"; @@ -26,10 +25,6 @@ const router = createBrowserRouter([ path: "/stream/:id", element: , }, - { - path: "/monitoring", - element: , - }, { path: "/history", element: ,