completionId: cgen-03cf87fe534544b2813a58084a2ad224

cgen-03cf87fe534544b2813a58084a2ad224
This commit is contained in:
Builder.io 2025-11-15 16:40:46 +00:00
parent 944d8424d0
commit 502d9bdef7

View file

@ -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 <LoadingScreen message="Loading dashboard..." />;
}