This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

fix routing

+22 -1
+22 -1
src/components/CollectionsFeed/CollectionsFeed.js
··· 39 39 setLoading(true); 40 40 setError(''); 41 41 42 + // Update URL with the username 43 + if (userHandle !== username) { 44 + navigate(`/collections-feed/${encodeURIComponent(userHandle)}`); 45 + } 46 + 42 47 // Resolve handle to DID 43 48 const userDid = await resolveHandleToDid(userHandle); 44 49 setDid(userDid); ··· 223 228 <p className="intro-text"> 224 229 Enter a Bluesky handle to see their AT Protocol collection records in chronological order. 225 230 </p> 226 - <SearchBar onSearch={loadUserData} /> 231 + <div className="search-bar-container"> 232 + <form className="search-bar" onSubmit={(e) => { 233 + e.preventDefault(); 234 + if (handle.trim() !== "") { 235 + loadUserData(handle.trim()); 236 + } 237 + }} role="search"> 238 + <input 239 + type="text" 240 + placeholder="(e.g. user.bsky.social)" 241 + value={handle} 242 + onChange={(e) => setHandle(e.target.value)} 243 + required 244 + /> 245 + <button type="submit">Search</button> 246 + </form> 247 + </div> 227 248 </div> 228 249 ) : ( 229 250 <>