From 1f4fd6a3f8458febc9cb8844f2a54a04c20c1f01 Mon Sep 17 00:00:00 2001 From: Ceci Date: Wed, 14 Jun 2023 13:38:28 -0500 Subject: [PATCH] fix: corrected /profile page --- src/components/universal/Login/Login.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/universal/Login/Login.tsx b/src/components/universal/Login/Login.tsx index 6adc07b..fe7c258 100644 --- a/src/components/universal/Login/Login.tsx +++ b/src/components/universal/Login/Login.tsx @@ -14,6 +14,8 @@ import { selectUser } from '../../../features/user'; export default function Login() { const user = useAppSelector(selectUser); + console.log(user); + if (user) { return ( <>