diff options
author | crupest <crupest@outlook.com> | 2021-07-06 00:54:24 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-07-06 00:54:24 +0800 |
commit | f5724eb2c7db9d38624bb1bbff30a6eb631e5ed8 (patch) | |
tree | 219b763b2d3953d2a210eae409a956a84ccceebd /FrontEnd/src/views/timeline-common/Timeline.tsx | |
parent | 1bc3f67b737ec65bb4e7a825233ebadedbac4187 (diff) | |
download | timeline-f5724eb2c7db9d38624bb1bbff30a6eb631e5ed8.tar.gz timeline-f5724eb2c7db9d38624bb1bbff30a6eb631e5ed8.tar.bz2 timeline-f5724eb2c7db9d38624bb1bbff30a6eb631e5ed8.zip |
feat: Fix #625.
Diffstat (limited to 'FrontEnd/src/views/timeline-common/Timeline.tsx')
-rw-r--r-- | FrontEnd/src/views/timeline-common/Timeline.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
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> ); |