fix(frontend): use thought.author.avatarUrl as base in ThoughtThread — fixes remote author avatars on feed and detail pages
This commit is contained in:
@@ -17,7 +17,8 @@ export function ThoughtThread({
|
|||||||
const author = {
|
const author = {
|
||||||
username: thought.author.username,
|
username: thought.author.username,
|
||||||
displayName: thought.author.displayName,
|
displayName: thought.author.displayName,
|
||||||
...authorDetails.get(thought.author.username),
|
avatarUrl: thought.author.avatarUrl, // API-provided avatar (from DB COALESCE)
|
||||||
|
...authorDetails.get(thought.author.username), // override for local users
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user