Skip to content

Commit c88d451

Browse files
committed
Actually copy to the clipboard.
I can't even explain the level of embarrassment here. Fixes #1141
1 parent 3dea54d commit c88d451

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/frontend/Output/Gist.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const Copied: React.FC<CopiedProps> = ({ children, href }) => {
3838

3939
const startCopy = useCallback(() => {
4040
setCopied(true);
41+
window.navigator.clipboard.writeText(href);
4142

4243
setTimeout(() => {
4344
setCopied(false);

0 commit comments

Comments
 (0)