Skip to content

Commit

Permalink
fix: missing comma and order of params passed into Apline.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fsmash committed Apr 29, 2024
1 parent 89e8bb3 commit 42e41ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/livewire/dropzone.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
x-cloak
x-data="dropzone({
_this: @this,
uuid: @js($uuid)
uuid: @js($uuid),
multiple: @js($multiple),
})"
@dragenter.prevent.document="onDragenter($event)"
Expand Down Expand Up @@ -118,7 +118,7 @@ class="dz-hidden"

@script
<script>
Alpine.data('dropzone', ({ _this, multiple, uuid }) => {
Alpine.data('dropzone', ({ _this, uuid, multiple }) => {
return ({
isDragging: false,
isDropped: false,
Expand Down

0 comments on commit 42e41ed

Please sign in to comment.