import React, { useEffect } from "react"; import Image from "next/image"; // assets import BluePlaneLogoWithoutText from "public/plane-logos/blue-without-text.png"; import BlackHorizontalLogo from "public/plane-logos/black-horizontal-with-blue-logo.svg"; // mobx import { observer } from "mobx-react-lite"; import { useMobxStore } from "lib/mobx/store-provider"; // services import authenticationService from "services/authentication.service"; // hooks import useToast from "hooks/use-toast"; // components import { OnBoardingForm } from "components/accounts/onboarding-form"; const OnBoardingPage = () => { const { user: userStore } = useMobxStore(); const user = userStore?.currentUser; const { setToastAlert } = useToast(); useEffect(() => { const user = userStore?.currentUser; if (!user) { userStore.fetchCurrentUser(); } }, [userStore]); return (
Plane logo
{user?.email}
); }; export default observer(OnBoardingPage);