From 5156abc124be7c386aade7978eca1fde11e1a92e Mon Sep 17 00:00:00 2001 From: Dasun Tharanga Date: Sat, 20 Jul 2024 07:54:56 +0530 Subject: [PATCH] feat: use `isset()` --- resources/views/livewire/dropzone.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/livewire/dropzone.blade.php b/resources/views/livewire/dropzone.blade.php index ad9752f..a4f122d 100644 --- a/resources/views/livewire/dropzone.blade.php +++ b/resources/views/livewire/dropzone.blade.php @@ -81,7 +81,7 @@ class="dz-hidden" - @if($files && count($files) > 0) + @if(isset($files) && count($files) > 0)
@foreach($files as $file)