diff options
Diffstat (limited to 'FrontEnd/src/views/timeline/TimelinePostView.tsx')
-rw-r--r-- | FrontEnd/src/views/timeline/TimelinePostView.tsx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/FrontEnd/src/views/timeline/TimelinePostView.tsx b/FrontEnd/src/views/timeline/TimelinePostView.tsx index 40c6a484..2ecc5700 100644 --- a/FrontEnd/src/views/timeline/TimelinePostView.tsx +++ b/FrontEnd/src/views/timeline/TimelinePostView.tsx @@ -82,12 +82,10 @@ const TimelinePostView: React.FC<TimelinePostViewProps> = (props) => { <div className="timeline-item-header"> <span className="me-2"> <span> - <Link to={"/users/" + props.post.author.username}> - <UserAvatar - username={post.author.username} - className="timeline-avatar me-1" - /> - </Link> + <UserAvatar + username={post.author.username} + className="timeline-avatar me-1" + /> <small className="text-dark me-2">{post.author.nickname}</small> <small className="text-secondary white-space-no-wrap"> {new Date(post.time).toLocaleTimeString()} |