Testing something out
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user