Skip to content

Commit

Permalink
fix: tags
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Jun 15, 2024
1 parent 2e12c51 commit 69b52d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utilities/copyTextToClipboard.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Copies a piece of text to the clipboard. Adapted from [StackOverflow][1].
*
* @param {string} text The text to copy.
* @returns {Promise<boolean>} Whether the operation was successful.
* @param {string} text The text to copy
* @returns {Promise<boolean>} Whether the operation was successful
*/
export async function copyTextToClipboard(text: string): Promise<boolean> {
if (navigator.clipboard) {
Expand Down

0 comments on commit 69b52d3

Please sign in to comment.