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();
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(`Unable to copy the value: ${value}`);
|
||||
} catch (error) {
|
||||
console.error(`Unable to copy the value: ${value} - Error: ${error}`);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user