From f5724eb2c7db9d38624bb1bbff30a6eb631e5ed8 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 6 Jul 2021 00:54:24 +0800
Subject: feat: Fix #625.

---
 FrontEnd/src/views/timeline-common/Timeline.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'FrontEnd/src/views/timeline-common/Timeline.tsx')

diff --git a/FrontEnd/src/views/timeline-common/Timeline.tsx b/FrontEnd/src/views/timeline-common/Timeline.tsx
index 3aed2445..d812463a 100644
--- a/FrontEnd/src/views/timeline-common/Timeline.tsx
+++ b/FrontEnd/src/views/timeline-common/Timeline.tsx
@@ -21,6 +21,7 @@ import TimelinePagedPostListView from "./TimelinePagedPostListView";
 import TimelineEmptyItem from "./TimelineEmptyItem";
 import TimelineLoading from "./TimelineLoading";
 import TimelinePostEdit from "./TimelinePostEdit";
+import TimelinePostEditNoLogin from "./TimelinePostEditNoLogin";
 
 import "./index.css";
 
@@ -149,7 +150,7 @@ const Timeline: React.FC<TimelineProps> = (props) => {
           {timeline?.postable ? (
             <TimelinePostEdit timeline={timeline} onPosted={onReload.current} />
           ) : (
-            <TimelineEmptyItem startSegmentLength={20} center="none" current />
+            <TimelinePostEditNoLogin />
           )}
         </div>
       );
-- 
cgit v1.2.3

