aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-24 19:50:26 +0800
committercrupest <crupest@outlook.com>2022-04-24 19:50:26 +0800
commit4fdf7d1cb50c3dd8ea8e96f7fb4cf8f655152dcc (patch)
tree570916621d3aea67f508eab1b5ab902f2d263bb0 /FrontEnd/src/views
parentfee641197dc4359c189b9ebea45800d71cb5aa8d (diff)
downloadtimeline-4fdf7d1cb50c3dd8ea8e96f7fb4cf8f655152dcc.tar.gz
timeline-4fdf7d1cb50c3dd8ea8e96f7fb4cf8f655152dcc.tar.bz2
timeline-4fdf7d1cb50c3dd8ea8e96f7fb4cf8f655152dcc.zip
...
Diffstat (limited to 'FrontEnd/src/views')
-rw-r--r--FrontEnd/src/views/timeline/index.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/FrontEnd/src/views/timeline/index.tsx b/FrontEnd/src/views/timeline/index.tsx
index cb9fb46f..6d276e25 100644
--- a/FrontEnd/src/views/timeline/index.tsx
+++ b/FrontEnd/src/views/timeline/index.tsx
@@ -3,6 +3,8 @@ import { useParams } from "react-router-dom";
import { UiLogicError } from "@/common";
+import useReverseScrollPositionRemember from "@/utilities/useReverseScrollPositionRemember";
+
import Timeline from "./Timeline";
const TimelinePage: React.FC = () => {
@@ -13,6 +15,8 @@ const TimelinePage: React.FC = () => {
const timeline = timelineNameParam || "self";
+ useReverseScrollPositionRemember();
+
return (
<div className="container">
<Timeline timelineOwner={owner} timelineName={timeline} />