From c88d451c67717d42081ba83165680d4b3a5ff770 Mon Sep 17 00:00:00 2001
From: Jake Goulding
Date: Sun, 23 Feb 2025 14:43:51 -0500
Subject: [PATCH] Actually copy to the clipboard.
I can't even explain the level of embarrassment here.
Fixes #1141
---
ui/frontend/Output/Gist.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/frontend/Output/Gist.tsx b/ui/frontend/Output/Gist.tsx
index 05c25629..ffcc1010 100644
--- a/ui/frontend/Output/Gist.tsx
+++ b/ui/frontend/Output/Gist.tsx
@@ -38,6 +38,7 @@ const Copied: React.FC = ({ children, href }) => {
const startCopy = useCallback(() => {
setCopied(true);
+ window.navigator.clipboard.writeText(href);
setTimeout(() => {
setCopied(false);