Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/components/landing/home-client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import Button from "@/components/ui/button";

// Dashboard components — only loaded for authenticated users
const SignInPreviewCard = dynamic(() => import("@/components/dashboard/sign-in-preview-card"));
const UsernameCard = dynamic(() => import("@/components/dashboard/username-card"));
// Landing sections — only loaded for unauthenticated users
const WhatYouGet = dynamic(() => import("@/components/landing/sections/what-you-get"));
const HowItWorks = dynamic(() => import("@/components/landing/sections/how-it-works"));
Expand All @@ -24,7 +23,7 @@ const Faq = dynamic(() => import("@/components/landing/sections/faq"));
const ReadyCta = dynamic(() => import("@/components/landing/sections/ready-cta"));

export default function HomeClient() {
const { isLoading, isAuthenticated, did, pdsUrl, openSignIn } = useAuth();
const { isLoading, isAuthenticated, did, openSignIn } = useAuth();
const { profile, avatarUrl, bannerUrl, isFallback } = useProfile();
const { setVariant } = useNavbarVariant();
const { handle } = useSession();
Expand Down Expand Up @@ -92,9 +91,6 @@ export default function HomeClient() {
</dl>
</div>

{/* Username card */}
<UsernameCard handle={handle} pdsUrl={pdsUrl || undefined} did={did || undefined} />

{/* Account Details card */}
<div className="dash-card mt-4">
<div className="username-card__header">
Expand Down