From c2f83d996a2780d26483c4f3f7b2daca103ffc31 Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Sun, 26 Nov 2023 21:15:09 +0000 Subject: [PATCH] Testing something out --- src/pages/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 7160f65e..f23a06f1 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -52,6 +52,10 @@ export default function Home() { const [showDemographicInput, setShowDemographicInput] = useState(false); const {user, mutateUser} = useUser({redirectTo: "/login"}); + useEffect(() => { + console.log({env: process.env.NEXT_PUBLIC_TEST}); + }, []); + useEffect(() => { if (user) { setShowDemographicInput(!user.demographicInformation);