Testing something out
This commit is contained in:
@@ -52,6 +52,10 @@ export default function Home() {
|
|||||||
const [showDemographicInput, setShowDemographicInput] = useState(false);
|
const [showDemographicInput, setShowDemographicInput] = useState(false);
|
||||||
const {user, mutateUser} = useUser({redirectTo: "/login"});
|
const {user, mutateUser} = useUser({redirectTo: "/login"});
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
console.log({env: process.env.NEXT_PUBLIC_TEST});
|
||||||
|
}, []);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (user) {
|
if (user) {
|
||||||
setShowDemographicInput(!user.demographicInformation);
|
setShowDemographicInput(!user.demographicInformation);
|
||||||
|
|||||||
Reference in New Issue
Block a user