import { useState } from "react"; // components import { LatestFeatureBlock } from "@/components/common"; import { InstanceSetupDone, InstanceSetupSignInForm } from "@/components/instance"; export enum EInstanceSetupSteps { SIGN_IN = "SIGN_IN", DONE = "DONE", } export const InstanceSetupFormRoot = () => { // states const [setupStep, setSetupStep] = useState(EInstanceSetupSteps.SIGN_IN); return ( <> {setupStep === EInstanceSetupSteps.DONE && } {setupStep === EInstanceSetupSteps.SIGN_IN && (
setSetupStep(EInstanceSetupSteps.DONE)} />
)} ); };