Skip to content

Commit

Permalink
fix(core): fixed createDropZone files property
Browse files Browse the repository at this point in the history
  • Loading branch information
novaotp committed Jan 31, 2025
1 parent 50a612f commit 03ef6fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sv-use/core",
"version": "1.3.0",
"version": "1.3.1",
"license": "MIT",
"description": "A collection of Svelte 5 utilities.",
"main": "./dist/index.js",
Expand Down
7 changes: 6 additions & 1 deletion packages/core/src/elements/create-drop-zone/index.svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,12 @@ export function createDropZone(
}

return {
files,
get files() {
return files;
},
set files(v) {
files = v;
},
get isOver() {
return isOver;
},
Expand Down

0 comments on commit 03ef6fc

Please sign in to comment.