chore: update comments

This commit is contained in:
David Nguyen
2023-10-06 14:28:58 +11:00
committed by GitHub
parent 4db98bc19c
commit 8cbc396e2d

View File

@ -42,7 +42,7 @@ export function useCopyToClipboard(): [CopiedValue, CopyFn] {
try {
await navigator.clipboard.write([new ClipboardItem({ [blobType]: value })]);
} catch (e) {
// Fallback to attempt.
// Fallback attempt.
await handleWriteTextCopy(value);
}
};