Skip to content

Commit

Permalink
fix: tags (#2158)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Apr 24, 2024
1 parent 8c2f9f9 commit 5bb23aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utilities/copyTextToClipboard.ts
@@ -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 5bb23aa

Please sign in to comment.