Parcourir la source

remove scroll from settings page

jnfrati il y a 4 ans
Parent
commit
62d368a8cb
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      dashboard/src/main/home/launch/launch-flow/SettingsPage.tsx

+ 0 - 2
dashboard/src/main/home/launch/launch-flow/SettingsPage.tsx

@@ -54,8 +54,6 @@ class SettingsPage extends Component<PropsType, StateType> {
   };
 
   componentDidMount() {
-    window.scrollBy(0, -window.innerHeight);
-
     // Retrieve tab options
     let tabOptions = [] as ChoiceType[];
     this.props.form?.tabs.map((tab: any, i: number) => {