import { useEffect, useCallback } from "react"; import { observer } from "mobx-react"; import Image from "next/image"; // components import { InstanceSetupFormRoot } from "@/components/instance"; // hooks import { useUser } from "@/hooks/store"; // images import BluePlaneLogoWithoutText from "public/plane-logos/blue-without-text.png"; export const InstanceSetupView = observer(() => { // store hooks const { fetchCurrentUser } = useUser(); const mutateUserInfo = useCallback(() => { fetchCurrentUser(); }, [fetchCurrentUser]); useEffect(() => { mutateUserInfo(); }, [mutateUserInfo]); return ( <>
Plane Logo Plane
); });