Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: avoid duplicate clipboard notifications

[._.]/ Adam Eivycfe86e076010
diff --git a/client/src/components/fableloom/LoomHostedSessionModal.jsx b/client/src/components/fableloom/LoomHostedSessionModal.jsx
index 7e3f7f417e..3180f31d03 100644
--- a/client/src/components/fableloom/LoomHostedSessionModal.jsx
+++ b/client/src/components/fableloom/LoomHostedSessionModal.jsx
@@ -114,11 +114,7 @@ export default function LoomHostedSessionModal({
}
};
- const handleCopyLink = async () => {
- if (!currentJoinUrl) return;
- const ok = await copyToClipboard(currentJoinUrl);
- if (ok) toast.success('Join link copied to clipboard!');
- };
+ const handleCopyLink = () => copyToClipboard(currentJoinUrl, 'Join link copied to clipboard!');
return (
<Modal
diff --git a/client/src/pages/AIProviders.jsx b/client/src/pages/AIProviders.jsx
index 6aa385c2a7..e303e3d73d 100644
--- a/client/src/pages/AIProviders.jsx
+++ b/client/src/pages/AIProviders.jsx
@@ -425,10 +425,7 @@ export default function AIProviders() {
toast.success('ChatGPT subscription signed out');
};
- const handleCopyCodexDeviceCode = async (code) => {
- if (await copyToClipboard(code)) toast.success('Device code copied');
- else toast.error('Could not copy the device code');
- };
+ const handleCopyCodexDeviceCode = (code) => copyToClipboard(code, 'Device code copied');
// llama.cpp (and similar local daemons) answer as a single model id — the
// server's `--alias`, not the preset name on this card. Matching the