fix: initial onboarding step

This commit is contained in:
Aaryan Khandelwal 2023-04-28 20:47:29 +05:30
parent 81d9c70026
commit eaa750b025

View File

@ -27,7 +27,7 @@ import { ICurrentUserResponse } from "types";
import { CURRENT_USER } from "constants/fetch-keys"; import { CURRENT_USER } from "constants/fetch-keys";
const Onboarding: NextPage = () => { const Onboarding: NextPage = () => {
const [step, setStep] = useState(2); const [step, setStep] = useState(1);
const [userRole, setUserRole] = useState<string | null>(null); const [userRole, setUserRole] = useState<string | null>(null);
const [workspace, setWorkspace] = useState(); const [workspace, setWorkspace] = useState();