@@ -24,7 +24,7 @@ export function writeToClipboard(text, success = () => { }, error = () => { }) {
setTimeout(() => {
navigator.clipboard.writeText(text).then(() => {
success()
- }).catch((error) => {
+ }).catch((err) => {
error()
})
}, 0);