This commit is contained in:
2024-07-26 03:38:43 +02:00
parent a0b327f744
commit ff0e192768
18 changed files with 201 additions and 211 deletions
+1 -8
View File
@@ -15,14 +15,7 @@ const Post: FC<Props> = ({ post }) => {
<CardHeader
avatar={
'id' in post.user ? (
<MUILink
component={Link}
to="/profile/$id"
params={{ id: post.user.id }}
color="#FFF"
variant="h6"
underline="none"
>
<MUILink component={Link} to="/profile/$id" params={{ id: post.user.id }} underline="none">
<Avatar alt={post.user.username} src={`storage/${post.user.image}`} />
</MUILink>
) : (