diff options
author | crupest <crupest@outlook.com> | 2021-02-13 21:55:47 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-02-13 21:55:47 +0800 |
commit | c7a3813b8c64152e91fdd0f99e8f0baf0fef4678 (patch) | |
tree | d73f7a3e95bbd918ddbf1602fb1b429bb7d6d9cf /FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx | |
parent | a39b1d690632f336ac5d73186200e393ff241ac0 (diff) | |
download | timeline-c7a3813b8c64152e91fdd0f99e8f0baf0fef4678.tar.gz timeline-c7a3813b8c64152e91fdd0f99e8f0baf0fef4678.tar.bz2 timeline-c7a3813b8c64152e91fdd0f99e8f0baf0fef4678.zip |
...
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx')
-rw-r--r-- | FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx index 6a8dd63c..92eb0887 100644 --- a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx +++ b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx @@ -29,15 +29,6 @@ export default function TimelinePageTemplate<TManageItem>( null ); - // TODO: Auto scroll. - // const [scrollBottomKey, _setScrollBottomKey] = React.useState<number>(0); - - // React.useEffect(() => { - // if (scrollBottomKey > 0) { - // window.scrollTo(0, document.body.scrollHeight); - // } - // }, [scrollBottomKey]); - const [timeline, setTimeline] = React.useState< HttpTimelineInfo | "loading" | "offline" | "notexist" | "error" >("loading"); |