an independent Bluesky client using Constellation, PDS Queries, and other services reddwarf.app
frontend spa bluesky reddwarf microcosm client app
99
fork

Configure Feed

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

TEMPLINEAR

rimar1337 b9c7d025 83082d78

+4 -2
+4 -2
src/components/UniversalPostRenderer.tsx
··· 150 150 maxReplies, 151 151 isQuote, 152 152 }: UniversalPostRendererATURILoaderProps) { 153 + // todo remove this once tree rendering is implemented, use a prop like isTree 154 + const TEMPLINEAR = true; 153 155 // /*mass comment*/ console.log("atUri", atUri); 154 156 //const { get, set } = usePersistentStore(); 155 157 //const [record, setRecord] = React.useState<any>(null); ··· 425 427 426 428 // auto-fetch all pages 427 429 useEffect(() => { 428 - if (!maxReplies || isQuote) return; 430 + if (!maxReplies || isQuote || TEMPLINEAR) return; 429 431 if ( 430 432 infinitequeryresults.hasNextPage && 431 433 !infinitequeryresults.isFetchingNextPage ··· 433 435 console.log("Fetching the next page..."); 434 436 infinitequeryresults.fetchNextPage(); 435 437 } 436 - }, [infinitequeryresults]); 438 + }, [TEMPLINEAR, infinitequeryresults, isQuote, maxReplies]); 437 439 438 440 const replyAturis = repliesData 439 441 ? repliesData.pages.flatMap((page) =>