From f61a8636f61787d41d0085bc8db84604fe902d68 Mon Sep 17 00:00:00 2001
From: Ivan <8611739+IRBorisov@users.noreply.github.com>
Date: Thu, 10 Jul 2025 19:50:35 +0300
Subject: [PATCH] B: Fix not-found page
---
rsconcept/frontend/src/app/router.tsx | 4 ++++
rsconcept/frontend/src/features/home/not-found-page.tsx | 8 +++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/rsconcept/frontend/src/app/router.tsx b/rsconcept/frontend/src/app/router.tsx
index 4031ea8f..b4e408ed 100644
--- a/rsconcept/frontend/src/app/router.tsx
+++ b/rsconcept/frontend/src/app/router.tsx
@@ -84,6 +84,10 @@ export const Router = createBrowserRouter([
{
path: `${routes.database_schema}`,
lazy: () => import('@/features/home/database-schema-page')
+ },
+ {
+ path: '*',
+ element:
Данная страница не существует или запрашиваемый объект отсутствует в базе данных
-
+