Skip to content

Commit

Permalink
Simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
Yev committed Dec 16, 2022
1 parent 54a64d1 commit e6d0fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const ClipboardPlugin: Plugin = {
? el.dataset.clipboardSuccess
: el.dataset.clipboardError

cache.get(callbackId!)?.({ value, event })
cache.get(callbackId!)?.(value, event)
}

el.dataset.clipboardClick = cache.add(onClick)
Expand Down

0 comments on commit e6d0fef

Please sign in to comment.