import Image from "next/image"; // mobx import { observer } from "mobx-react-lite"; import { useMobxStore } from "lib/mobx/store-provider"; // components import { SignInRoot, UserLoggedIn } from "components/accounts"; import { Loader } from "@plane/ui"; // images import BluePlaneLogoWithoutText from "public/plane-logos/blue-without-text-new.png"; export const LoginView = observer(() => { // store const { user: { currentUser, loader }, } = useMobxStore(); return ( <> {loader ? (
Loading
// TODO: Add spinner instead ) : ( <> {currentUser ? ( ) : (
Plane Logo Plane
{!true ? (
) : ( )}
)} )} ); });