Skip to content

Commit

Permalink
fix: resolve array error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Thulin committed Oct 4, 2024
1 parent efd7b53 commit c3f1a0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@endphp

@if ($image)
@image($image)
@image(is_array($image) ? $image : ['src' => $image])
@endimage
@endif
@endslot
Expand Down

0 comments on commit c3f1a0b

Please sign in to comment.