mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-07 21:07:44 +00:00
update
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
});
|
||||
|
||||
const CopyStatus = {
|
||||
Copy = 'Copy',
|
||||
Copied = 'Copied!'
|
||||
}
|
||||
Copy: 'Copy',
|
||||
Copied: 'Copied!'
|
||||
};
|
||||
|
||||
let copyText = CopyStatus.Copy;
|
||||
async function handleCopy() {
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -43,9 +43,9 @@
|
||||
});
|
||||
|
||||
const CopyStatus = {
|
||||
Copy = 'Copy',
|
||||
Copied = 'Copied!'
|
||||
}
|
||||
Copy: 'Copy',
|
||||
Copied: 'Copied!'
|
||||
};
|
||||
|
||||
let copyText = CopyStatus.Copy;
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
});
|
||||
|
||||
const CopyStatus = {
|
||||
Copy = 'Copy',
|
||||
Copied = 'Copied!'
|
||||
}
|
||||
Copy: 'Copy',
|
||||
Copied: 'Copied!'
|
||||
};
|
||||
|
||||
let copyText = CopyStatus.Copy;
|
||||
async function handleCopy() {
|
||||
|
||||
Reference in New Issue
Block a user