Fixed Layout and switch functionality

This commit was merged in pull request #25.
This commit is contained in:
Ebube
2024-03-21 11:29:38 +01:00
parent dd9652fe58
commit dd6d92654c
10 changed files with 37 additions and 29 deletions
+4 -4
View File
@@ -4,13 +4,13 @@ import BasicInfo from "./BasicInfo";
const GetStarted = () => {
const [step, setStep] = React.useState(1);
const handleNextStep = () => {
const handleNextStep: any = () => {
setStep(step + 1);
};
const handlePreviousStep = () => {
setStep(step - 1);
};
// const handlePreviousStep: React.MouseEvent<HTMLButtonElement> = () => {
// setStep(step - 1);
// };
const [inputValues, setInputValues] = React.useState({
title: "",