From e6ccc0174a86a0ade240e6551228598cd81f984b Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 1 Aug 2023 00:29:35 +0800
Subject: ...

---
 FrontEnd/src/pages/timeline/TimelineDateLabel.tsx | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

(limited to 'FrontEnd/src/pages/timeline/TimelineDateLabel.tsx')

diff --git a/FrontEnd/src/pages/timeline/TimelineDateLabel.tsx b/FrontEnd/src/pages/timeline/TimelineDateLabel.tsx
index 5f4ac706..eaadcc1a 100644
--- a/FrontEnd/src/pages/timeline/TimelineDateLabel.tsx
+++ b/FrontEnd/src/pages/timeline/TimelineDateLabel.tsx
@@ -1,19 +1,13 @@
-import * as React from "react";
-import TimelineLine from "./TimelineLine";
+import TimelinePostContainer from "./TimelinePostContainer";
 
-export interface TimelineDateItemProps {
-  date: Date;
-}
+import "./TimelineDateLabel.css";
 
-const TimelineDateLabel: React.FC<TimelineDateItemProps> = ({ date }) => {
+export default function TimelineDateLabel({ date }: { date: Date }) {
   return (
-    <div className="timeline-date-item">
-      <TimelineLine center="none" />
-      <div className="timeline-date-item-badge">
+    <TimelinePostContainer>
+      <div className="timeline-post-date-badge">
         {date.toLocaleDateString()}
       </div>
-    </div>
+    </TimelinePostContainer>
   );
-};
-
-export default TimelineDateLabel;
+}
-- 
cgit v1.2.3

