diff --git a/client/pages/Community.tsx b/client/pages/Community.tsx index ca843a97..5102c7f8 100644 --- a/client/pages/Community.tsx +++ b/client/pages/Community.tsx @@ -647,7 +647,7 @@ function PollCard({ poll, selectedOption, onSelect }: PollCardProps) { } export default function Community() { - const { profile } = useAuth(); + const { profile, user } = useAuth(); const [isLoading, setIsLoading] = useState(true); const toastShownRef = useRef(false); const [knowledgeQuery, setKnowledgeQuery] = useState("");