We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c09240 commit e1426e8Copy full SHA for e1426e8
ui/frontend/Output/Gist.tsx
@@ -43,7 +43,7 @@ const Copied: React.FC<CopiedProps> = ({ children, href }) => {
43
setTimeout(() => {
44
setCopied(false);
45
}, 1000);
46
- }, []);
+ }, [href]);
47
48
return (
49
<p className={copied ? styles.active : styles.container}>
0 commit comments