aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/timeline/TimelinePostView.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-21 23:04:10 +0800
committercrupest <crupest@outlook.com>2022-04-21 23:04:10 +0800
commit14234ef07e0ab7e019b82eacd054f6415575c55d (patch)
treecb2379e2cb5a972450ceb30a59eb6bf5226c659a /FrontEnd/src/views/timeline/TimelinePostView.tsx
parent56cd10828f090b4526196d012b0c2efb5033aced (diff)
downloadtimeline-14234ef07e0ab7e019b82eacd054f6415575c55d.tar.gz
timeline-14234ef07e0ab7e019b82eacd054f6415575c55d.tar.bz2
timeline-14234ef07e0ab7e019b82eacd054f6415575c55d.zip
...
Diffstat (limited to 'FrontEnd/src/views/timeline/TimelinePostView.tsx')
-rw-r--r--FrontEnd/src/views/timeline/TimelinePostView.tsx10
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()}