added scroll top to next step

This commit is contained in:
2024-05-07 09:46:38 +01:00
parent 4d7a56f31d
commit 33d3ab0fda
+1
View File
@@ -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);
};