diff options
author | crupest <crupest@outlook.com> | 2023-08-15 01:16:37 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-08-15 01:16:37 +0800 |
commit | 93bc2b9688ebc0dde2ae8d5cf3e3f2628d636ff0 (patch) | |
tree | d689ec372ce24c5c11a6524f99bb7617752fc91e /FrontEnd/src/pages/timeline/index.tsx | |
parent | e989478fcf77c30e26147310f5ce25dfb637d1b3 (diff) | |
download | timeline-93bc2b9688ebc0dde2ae8d5cf3e3f2628d636ff0.tar.gz timeline-93bc2b9688ebc0dde2ae8d5cf3e3f2628d636ff0.tar.bz2 timeline-93bc2b9688ebc0dde2ae8d5cf3e3f2628d636ff0.zip |
...
Diffstat (limited to 'FrontEnd/src/pages/timeline/index.tsx')
-rw-r--r-- | FrontEnd/src/pages/timeline/index.tsx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/FrontEnd/src/pages/timeline/index.tsx b/FrontEnd/src/pages/timeline/index.tsx index 1dffdcc1..51cc37f0 100644 --- a/FrontEnd/src/pages/timeline/index.tsx +++ b/FrontEnd/src/pages/timeline/index.tsx @@ -1,11 +1,10 @@ -import * as React from "react"; import { useParams } from "react-router-dom"; import { UiLogicError } from "@/common"; import Timeline from "./Timeline"; -const TimelinePage: React.FC = () => { +export default function TimelinePage() { const { owner, timeline: timelineNameParam } = useParams(); if (owner == null || owner == "") @@ -13,11 +12,5 @@ const TimelinePage: React.FC = () => { const timeline = timelineNameParam || "self"; - return ( - <div className="container"> - <Timeline timelineOwner={owner} timelineName={timeline} /> - </div> - ); + return <Timeline timelineOwner={owner} timelineName={timeline} />; }; - -export default TimelinePage; |