From 502d9bdef749f0b002f55c68ad0110c5bfe8ed75 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 15 Nov 2025 16:40:46 +0000 Subject: [PATCH] completionId: cgen-03cf87fe534544b2813a58084a2ad224 cgen-03cf87fe534544b2813a58084a2ad224 --- client/pages/Dashboard.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/client/pages/Dashboard.tsx b/client/pages/Dashboard.tsx index fd90c182..2200f86e 100644 --- a/client/pages/Dashboard.tsx +++ b/client/pages/Dashboard.tsx @@ -182,6 +182,18 @@ export default function Dashboard() { } }; + const profileUrl = profile?.username + ? `https://${profile.username}.aethex.me` + : ""; + + const copyProfileLink = () => { + if (profileUrl) { + navigator.clipboard.writeText(profileUrl); + setProfileLinkCopied(true); + setTimeout(() => setProfileLinkCopied(false), 2000); + } + }; + if (authLoading) { return ; }