aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/timeline/index.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-24 15:22:05 +0800
committercrupest <crupest@outlook.com>2022-04-24 15:22:05 +0800
commit3bc8ee1de171f0bd8e226542d75c842c5b2e7175 (patch)
tree408cea3b767dc5768ad3c08d6e547c876ce1175e /FrontEnd/src/views/timeline/index.tsx
parentd8adfa6b141c8e3a8f11592b831c574dee8602b9 (diff)
downloadtimeline-3bc8ee1de171f0bd8e226542d75c842c5b2e7175.tar.gz
timeline-3bc8ee1de171f0bd8e226542d75c842c5b2e7175.tar.bz2
timeline-3bc8ee1de171f0bd8e226542d75c842c5b2e7175.zip
...
Diffstat (limited to 'FrontEnd/src/views/timeline/index.tsx')
-rw-r--r--FrontEnd/src/views/timeline/index.tsx3
1 files changed, 0 insertions, 3 deletions
diff --git a/FrontEnd/src/views/timeline/index.tsx b/FrontEnd/src/views/timeline/index.tsx
index 3bd3ae3c..65bb90f6 100644
--- a/FrontEnd/src/views/timeline/index.tsx
+++ b/FrontEnd/src/views/timeline/index.tsx
@@ -4,7 +4,6 @@ import { useParams } from "react-router-dom";
import { UiLogicError } from "@/common";
import { HttpTimelineInfo } from "@/http/timeline";
-import useReverseScrollPositionRemember from "@/utilities/useReverseScrollPositionRemember";
import { generatePalette, setPalette } from "@/palette";
import Timeline from "./Timeline";
@@ -29,8 +28,6 @@ const TimelinePage: React.FC = () => {
const [connectionStatus, setConnectionStatus] =
React.useState<HubConnectionState>(HubConnectionState.Connecting);
- useReverseScrollPositionRemember();
-
React.useEffect(() => {
if (timeline != null && timeline.color != null) {
return setPalette(generatePalette({ primary: timeline.color }));