From 61de2d414d68ea47c4fd535f6921023db73e2eeb Mon Sep 17 00:00:00 2001 From: Aditya Singh Date: Mon, 31 Mar 2025 14:35:58 +0530 Subject: [PATCH] fix: handle 404 redirection on root route (#7454) * fix: handle 404 redirection on root route * fix: add home component for root route --------- Co-authored-by: Aditya Singh --- frontend/src/AppRoutes/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/AppRoutes/index.tsx b/frontend/src/AppRoutes/index.tsx index f422fc6829..d4278803bf 100644 --- a/frontend/src/AppRoutes/index.tsx +++ b/frontend/src/AppRoutes/index.tsx @@ -26,6 +26,7 @@ import { Route, Router, Switch } from 'react-router-dom'; import { CompatRouter } from 'react-router-dom-v5-compat'; import { extractDomain } from 'utils/app'; +import { Home } from './pageComponents'; import PrivateRoute from './Private'; import defaultRoutes, { AppRoutes, @@ -310,6 +311,7 @@ function App(): JSX.Element { /> ))} +