From a5eb151100ea92c8a8a9319737deac5194eca680 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 4 Oct 2025 21:53:18 +0000 Subject: [PATCH] Rename profile card component and exports cgen-e4178badfbad47e69d7386d3b5f6d6e7 --- client/pages/DevelopersDirectory.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/pages/DevelopersDirectory.tsx b/client/pages/DevelopersDirectory.tsx index c3cf551c..ea42042d 100644 --- a/client/pages/DevelopersDirectory.tsx +++ b/client/pages/DevelopersDirectory.tsx @@ -45,7 +45,7 @@ interface ProfileCardProps { profile: AethexUserProfile & { email?: string | null }; } -const ProfileCard = ({ profile }: ProfileCardProps) => { +const DeveloperCard = ({ profile }: ProfileCardProps) => { const realmStyle = realmBadgeStyles[profile.user_type] || "bg-aethex-500 text-white"; const isGodMode = (profile.level ?? 1) >= 100; @@ -133,7 +133,7 @@ const ProfileCard = ({ profile }: ProfileCardProps) => { ); }; -const ProfilesDirectory = () => { +const DevelopersDirectory = () => { const [profiles, setProfiles] = useState([]); const [loading, setLoading] = useState(true); const [search, setSearch] = useState(""); @@ -249,7 +249,7 @@ const ProfilesDirectory = () => { ) : (
{filteredProfiles.map((profile) => ( - + ))}
)} @@ -259,4 +259,4 @@ const ProfilesDirectory = () => { ); }; -export default ProfilesDirectory; +export default DevelopersDirectory;