This commit is contained in:
Jesse Winton
2025-03-31 14:42:16 -04:00
parent 3cae5f6d00
commit 69bdf6f067
5 changed files with 23 additions and 22 deletions

View File

@@ -23,9 +23,9 @@
});
const CopyStatus = {
Copy = 'Copy',
Copied = 'Copied!'
}
Copy: 'Copy',
Copied: 'Copied!'
};
let copyText = CopyStatus.Copy;
async function handleCopy() {

View File

@@ -21,9 +21,10 @@
const selected = insideMultiCode ? getContext<CodeContext>('multi-code').selected : null;
const CopyStatus = {
Copy = 'Copy',
Copied = 'Copied!'
}
Copy: 'Copy',
Copied: 'Copied!'
};
let copyText = CopyStatus.Copy;
async function handleCopy() {
await copy(toCopy ?? content);

View File

@@ -43,9 +43,9 @@
});
const CopyStatus = {
Copy = 'Copy',
Copied = 'Copied!'
}
Copy: 'Copy',
Copied: 'Copied!'
};
let copyText = CopyStatus.Copy;

View File

@@ -22,9 +22,9 @@
const sharingOptions = socialSharingOptions.filter((option) => option.label !== 'YCombinator');
const CopyStatus = {
Copy = 'Copy',
Copied = 'Copied!'
}
Copy: 'Copy',
Copied: 'Copied!'
};
let copyText = CopyStatus.Copy;
async function handleCopy() {

View File

@@ -23,9 +23,9 @@
});
const CopyStatus = {
Copy = 'Copy',
Copied = 'Copied!'
}
Copy: 'Copy',
Copied: 'Copied!'
};
let copyText = CopyStatus.Copy;
async function handleCopy() {