mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🛠️ Fixed eslint errors
This commit is contained in:
@@ -18,8 +18,8 @@ export function copyToClipboard(value: string) {
|
|||||||
throw new Error();
|
throw new Error();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (error) {
|
||||||
console.error(`Unable to copy the value: ${value}`);
|
console.error(`Unable to copy the value: ${value} - Error: ${error}`);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user