@@ -53,7 +53,7 @@ new class extends Component
53
53
// <!-- [tl! remove] -->
54
54
<div class =" mt-6 bg-white shadow-sm rounded-lg divide-y" > <!-- [tl! add:start] -->
55
55
@foreach ($chirps as $chirp)
56
- <div class =" p-6 flex space-x-2" >
56
+ <div class =" p-6 flex space-x-2" wire:key = " {{ $chirp->id }} " >
57
57
<svg xmlns =" http://www.w3.org/2000/svg" class =" h-6 w-6 text-gray-600 -scale-x-100" fill =" none" viewBox =" 0 0 24 24" stroke =" currentColor" stroke-width =" 2" >
58
58
<path stroke-linecap =" round" stroke-linejoin =" round" d =" M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z" />
59
59
</svg >
@@ -85,7 +85,7 @@ state(['chirps' => fn () => Chirp::with('user')->latest()->get()]); // [tl! add]
85
85
// <!-- [tl! remove] -->
86
86
<div class =" mt-6 bg-white shadow-sm rounded-lg divide-y" > <!-- [tl! add:start] -->
87
87
@foreach ($chirps as $chirp)
88
- <div class =" p-6 flex space-x-2" >
88
+ <div class =" p-6 flex space-x-2" wire:key = " {{ $chirp->id }} " >
89
89
<svg xmlns =" http://www.w3.org/2000/svg" class =" h-6 w-6 text-gray-600 -scale-x-100" fill =" none" viewBox =" 0 0 24 24" stroke =" currentColor" stroke-width =" 2" >
90
90
<path stroke-linecap =" round" stroke-linejoin =" round" d =" M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z" />
91
91
</svg >
@@ -216,7 +216,7 @@ new class extends Component
216
216
<div class =" mt-6 bg-white shadow-sm rounded-lg divide-y" >
217
217
<!-- [tl! collapse:start] -->
218
218
@foreach ($chirps as $chirp)
219
- <div class =" p-6 flex space-x-2" >
219
+ <div class =" p-6 flex space-x-2" wire:key = " {{ $chirp->id }} " >
220
220
<svg xmlns =" http://www.w3.org/2000/svg" class =" h-6 w-6 text-gray-600 -scale-x-100" fill =" none" viewBox =" 0 0 24 24" stroke =" currentColor" stroke-width =" 2" >
221
221
<path stroke-linecap =" round" stroke-linejoin =" round" d =" M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z" />
222
222
</svg >
@@ -253,7 +253,7 @@ on(['chirp-created' => $getChirps]); // [tl! add:end]
253
253
<div class =" mt-6 bg-white shadow-sm rounded-lg divide-y" >
254
254
<!-- [tl! collapse:start] -->
255
255
@foreach ($chirps as $chirp)
256
- <div class =" p-6 flex space-x-2" >
256
+ <div class =" p-6 flex space-x-2" wire:key = " {{ $chirp->id }} " >
257
257
<svg xmlns =" http://www.w3.org/2000/svg" class =" h-6 w-6 text-gray-600 -scale-x-100" fill =" none" viewBox =" 0 0 24 24" stroke =" currentColor" stroke-width =" 2" >
258
258
<path stroke-linecap =" round" stroke-linejoin =" round" d =" M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z" />
259
259
</svg >
0 commit comments