added scroll top to next step
This commit is contained in:
@@ -461,6 +461,7 @@ let AboutYou = (props) => {
|
||||
const onHandleSubmit = (values) => {
|
||||
event.preventDefault();
|
||||
console.log(JSON.stringify(values));
|
||||
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||
setFormStep(1);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user