Skip to content

Commit 8d4c71d

Browse files
fix:[LAR-118] replace authentication variable with user and add avatar component
1 parent 312bb36 commit 8d4c71d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

resources/views/livewire/discussions/add-comment.blade.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
<div class="relative flex space-x-3">
66
<div class="flex-shrink-0">
77
<div class="relative">
8-
<img
8+
<x-user.avatar
9+
:user="$user"
910
class="flex size-10 items-center justify-center rounded-full bg-skin-card-gray object-cover ring-8 ring-body"
10-
src="{{ $authenticate->profile_photo_url }}"
11-
alt="{{ $authenticate->name }}"
1211
/>
1312
<span class="absolute -bottom-0.5 -right-1 rounded-tl bg-skin-body px-0.5 py-px">
1413
<svg

0 commit comments

Comments
 (0)