Skip to content

Commit

Permalink
Merge pull request #34 from Fsmash/main
Browse files Browse the repository at this point in the history
fix: missing comma and order of params passed into Apline.
  • Loading branch information
dasundev authored Apr 30, 2024
2 parents 324e8e9 + 42e41ed commit fddfc9a
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 fddfc9a

Please sign in to comment.