Skip to content

Commit

Permalink
WIP: PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vbersch committed Oct 31, 2019
1 parent aecc186 commit df4cdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/main/src/components/ObjectPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ const ObjectPage: FC<ObjectPagePropTypes> = forwardRef((props: ObjectPagePropTyp
}
}
}
}, [props.selectedSubSectionId, scroller.current, setSelectedSectionIndex, setSelectedSubSectionId]);
}, [props.selectedSubSectionId, scroller.current, setSelectedSectionIndex, setSelectedSubSectionId, children, mode]);

useEffect(() => {
if (!isMounted && selectedSectionIndex < 1) return;
Expand Down

0 comments on commit df4cdc5

Please sign in to comment.