Skip to content

Commit

Permalink
removed clipboard is empty error
Browse files Browse the repository at this point in the history
  • Loading branch information
outspokeio committed Nov 11, 2023
1 parent 9f89f88 commit c3bfd1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/renderer/Commands.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ const Commands = () => {

const runCommand = async (command: any) => {
const clipContents = await getClip();
if(clipContents === '') {
setError('Clipboard is empty');
return;
}
// if(clipContents === '') {
// setError('Clipboard is empty');
// return;
// }
if(command.inputs.length > 0) {
navigate('/inputs',{state: {...command, copied: clipContents}})
} else {
Expand Down

0 comments on commit c3bfd1c

Please sign in to comment.