Skip to content

Commit

Permalink
let's tx-expect back
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasfha committed Jan 16, 2024
1 parent 2f3ba14 commit 2f0f1b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions svelte-cloudinary/src/lib/components/CldUploadButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@
uploadPreset,
signatureEndpoint
};
// appears because of the spread operator on line 39
// this attributes should not be passed to the button html elements since are not valid attributes
delete buttonProps['$$slots'];
// @ts-expect-error
delete buttonProps['$$scope'];
</script>

Expand Down

0 comments on commit 2f0f1b9

Please sign in to comment.