From 5ed5328fda91b9d0dbe6c3f86e7e5a8b6869f5ec Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Sun, 2 Nov 2025 10:23:45 -0500 Subject: [PATCH] styles on quote drawer content --- .../[publication]/[rkey]/Interactions/Quotes.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/lish/[did]/[publication]/[rkey]/Interactions/Quotes.tsx b/app/lish/[did]/[publication]/[rkey]/Interactions/Quotes.tsx index 0621d14a..65cb79d2 100644 --- a/app/lish/[did]/[publication]/[rkey]/Interactions/Quotes.tsx +++ b/app/lish/[did]/[publication]/[rkey]/Interactions/Quotes.tsx @@ -48,7 +48,9 @@ async function fetchBskyPosts(uris: string[]): Promise { } // Prefetch quotes data -export function prefetchQuotesData(quotesAndMentions: { uri: string; link?: string }[]) { +export function prefetchQuotesData( + quotesAndMentions: { uri: string; link?: string }[], +) { const uris = quotesAndMentions.map((q) => q.uri); const key = getQuotesSWRKey(uris); if (key) { @@ -69,9 +71,8 @@ export const Quotes = (props: { // Fetch Bluesky post data for all URIs const uris = props.quotesAndMentions.map((q) => q.uri); const key = getQuotesSWRKey(uris); - const { data: bskyPosts, isLoading } = useSWR( - key, - () => fetchBskyPosts(uris), + const { data: bskyPosts, isLoading } = useSWR(key, () => + fetchBskyPosts(uris), ); // Separate quotes with links (quoted content) from direct mentions @@ -141,7 +142,7 @@ export const Quotes = (props: { {/* Direct post mentions (without quoted content) */} {directMentions.length > 0 && (
-

Post Mentions

+
Post Mentions
{directMentions.map((q, index) => { const pv = postViewMap.get(q.uri); -- 2.51.2