Add stuff
This commit is contained in:
@ -1 +1,12 @@
|
||||
import 'htmx.org'
|
||||
|
||||
export function copyToClipboard(text: string): void {
|
||||
navigator.clipboard.writeText(text).then(
|
||||
() => {
|
||||
|
||||
},
|
||||
(er) => {
|
||||
console.log("failed to write to clipboard", er)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user