From 0176baef11289dab1ce807df7d4aa6f13b959b5a Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Mon, 13 Oct 2025 22:27:45 +0000 Subject: [PATCH] Add knowledge search and newsletter state cgen-a5937405aac349e483edcac7ffebe254 --- client/pages/Community.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/pages/Community.tsx b/client/pages/Community.tsx index 7ea3583c..e28c8863 100644 --- a/client/pages/Community.tsx +++ b/client/pages/Community.tsx @@ -645,6 +645,8 @@ function PollCard({ poll, selectedOption, onSelect }: PollCardProps) { export default function Community() { const [isLoading, setIsLoading] = useState(true); const toastShownRef = useRef(false); + const [knowledgeQuery, setKnowledgeQuery] = useState(""); + const [newsletterEmail, setNewsletterEmail] = useState(""); const [registeredEvents, setRegisteredEvents] = useState< Record >({}); @@ -1310,7 +1312,7 @@ export default function Community() { "https://images.unsplash.com/photo-1494790108755-2616b612b029?w=120&h=120&fit=crop&crop=face", title: "Documentation Expert", contributions: 89, - badge: "📚 Knowledge Hero", + badge: "���� Knowledge Hero", speciality: "Technical Writing", bio: "Maintains the AeThex SDK quickstarts and keeps localisation packs up to date.", recentContribution: