mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
chore: update comments
This commit is contained in:
@ -42,7 +42,7 @@ export function useCopyToClipboard(): [CopiedValue, CopyFn] {
|
|||||||
try {
|
try {
|
||||||
await navigator.clipboard.write([new ClipboardItem({ [blobType]: value })]);
|
await navigator.clipboard.write([new ClipboardItem({ [blobType]: value })]);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Fallback to attempt.
|
// Fallback attempt.
|
||||||
await handleWriteTextCopy(value);
|
await handleWriteTextCopy(value);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user