Catch clipboard errors

This commit is contained in:
Gregory Schier
2024-08-10 07:33:10 -07:00
parent 352ffe9415
commit 7e73b680e6
4 changed files with 18 additions and 8 deletions

View File

@@ -40,7 +40,7 @@ export function useImportCurl({ clearClipboard }: { clearClipboard?: boolean } =
});
if (clearClipboard) {
setClipboardText('');
setClipboardText(null);
}
},
});