From 8aa8fe0cc95d5ce8898ad9fee4244941bdef83e8 Mon Sep 17 00:00:00 2001 From: LashaunnaS Date: Tue, 22 Oct 2024 17:52:07 -0400 Subject: [PATCH] Capture possibility of of user coming from the loginroute once authenticated. --- src/pages/AuthorizedRoutes.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/AuthorizedRoutes.tsx b/src/pages/AuthorizedRoutes.tsx index 18b80278..5eeb0ee1 100644 --- a/src/pages/AuthorizedRoutes.tsx +++ b/src/pages/AuthorizedRoutes.tsx @@ -5,6 +5,7 @@ import { Navigate, Route, Routes } from 'react-router-dom'; import AppletDetailsPage from './AppletDetailsPage'; import AppletListPage from './AppletListPage'; import AutoCompletion from './AutoCompletion'; +import LoginPage from './Login'; import ProfilePage from './Profile'; import PublicAutoCompletion from './PublicAutoCompletion'; import SettingsPage from './Settings'; @@ -50,7 +51,7 @@ function AuthorizedRoutes({ refreshToken }: Props) { } /> - + } /> } />