added scrolltop
This commit is contained in:
@@ -91,7 +91,8 @@ const RepComplete = (props) => {
|
||||
: props.props.currentView.caseReference
|
||||
.representationType,
|
||||
}),
|
||||
setRepresentationMessageSent(true));
|
||||
setRepresentationMessageSent(true)),
|
||||
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||
});
|
||||
return (
|
||||
<div id="rep-appellant">
|
||||
|
||||
@@ -65,6 +65,7 @@ let CompleteAppeal = (props) => {
|
||||
console.log("patching///////////////");
|
||||
//
|
||||
//patchCase(incidentId);
|
||||
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||
}, [
|
||||
props.appealType.caseReference,
|
||||
props.props.form.appealForm.values,
|
||||
|
||||
Reference in New Issue
Block a user