completionId: cgen-076e895821b64358bafd131799da9754

cgen-076e895821b64358bafd131799da9754
This commit is contained in:
Builder.io 2025-11-15 16:40:08 +00:00
parent ea9e55f94d
commit 9bebfaf956

View file

@ -386,6 +386,18 @@ const ProfilePassport = () => {
profile.username.toLowerCase())),
);
const profileUrl = profile?.username
? `https://${profile.username}.aethex.me`
: "";
const copyProfileLink = () => {
if (profileUrl) {
navigator.clipboard.writeText(profileUrl);
setProfileLinkCopied(true);
setTimeout(() => setProfileLinkCopied(false), 2000);
}
};
if (loading) {
return <LoadingScreen message="Loading AeThex passport..." />;
}