mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-07 04:22:09 +00:00
back to enums
This commit is contained in:
@@ -22,10 +22,10 @@
|
||||
}
|
||||
});
|
||||
|
||||
const CopyStatus = {
|
||||
Copy: 'Copy',
|
||||
Copied: 'Copied!'
|
||||
};
|
||||
const enum CopyStatus {
|
||||
Copy = 'Copy',
|
||||
Copied = 'Copied!'
|
||||
}
|
||||
|
||||
let copyText = CopyStatus.Copy;
|
||||
async function handleCopy() {
|
||||
|
||||
Reference in New Issue
Block a user