aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FrontEnd/src/views/search/index.tsx2
-rw-r--r--FrontEnd/src/views/timeline/Timeline.tsx4
2 files changed, 2 insertions, 4 deletions
diff --git a/FrontEnd/src/views/search/index.tsx b/FrontEnd/src/views/search/index.tsx
index e1d3222d..ee448e77 100644
--- a/FrontEnd/src/views/search/index.tsx
+++ b/FrontEnd/src/views/search/index.tsx
@@ -19,7 +19,7 @@ const TimelineSearchResultItemView: React.FC<{
<div className="timeline-search-result-item my-2 p-3">
<h4>
<Link
- to={`${timeline.owner.username}/${timeline.nameV2}`}
+ to={`/${timeline.owner.username}/${timeline.nameV2}`}
className="mb-2 text-primary"
>
{timeline.title}
diff --git a/FrontEnd/src/views/timeline/Timeline.tsx b/FrontEnd/src/views/timeline/Timeline.tsx
index 84624313..8b438d62 100644
--- a/FrontEnd/src/views/timeline/Timeline.tsx
+++ b/FrontEnd/src/views/timeline/Timeline.tsx
@@ -196,9 +196,7 @@ const Timeline: React.FC<TimelineProps> = (props) => {
<TimelinePostEdit timeline={timeline} onPosted={updatePosts} />
) : user == null ? (
<TimelinePostEditNoLogin />
- ) : (
- <TimelineEmptyItem startSegmentLength={20} center="none" current />
- )}
+ ) : null}
<TimelinePostListView posts={posts} onReload={updatePosts} />
</div>
)}