mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
Feat: fix profile avatars in comments
This reverts the change to the comment content body component in the previous commit.
This commit is contained in:
@@ -18,8 +18,9 @@ const createNewUserAvatars = async ({
|
||||
}: CreateNewUserAvatarsArgs) => {
|
||||
const userAvatars: UserAvatarData[] = [];
|
||||
|
||||
const path = imageUrls[Math.floor(Math.random() * imageUrls.length)];
|
||||
users.forEach((user) => {
|
||||
const path = imageUrls[Math.floor(Math.random() * imageUrls.length)];
|
||||
|
||||
userAvatars.push({
|
||||
path,
|
||||
alt: `${user.firstName} ${user.lastName}`,
|
||||
|
||||
Reference in New Issue
Block a user