Fixed Layout and switch functionality
This commit was merged in pull request #25.
This commit is contained in:
@@ -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: "",
|
||||
|
||||
Reference in New Issue
Block a user