'use client'; import { useState, useEffect, useCallback } from 'react'; import Link from 'next/link'; import { useSearchParams, useRouter } from 'next/navigation'; import { formatFullHandle } from '@/lib/utils/handle'; import { PostCard } from '@/components/PostCard'; import { Post } from '@/lib/types'; import { Bot } from 'lucide-react'; interface User { id: string; handle: string; displayName: string; avatarUrl?: string; bio?: string; profileUrl?: string | null; isRemote?: boolean; isBot?: boolean; } // Icons const SearchIcon = () => ( ); const ArrowLeftIcon = () => ( ); const HeartIcon = ({ filled }: { filled?: boolean }) => ( ); const RepeatIcon = () => ( ); const MessageIcon = () => ( ); const FlagIcon = () => ( ); function UserCard({ user }: { user: User }) { return (
Search for users and posts
No results for “{initialQuery}”