From b4aa67572d4def9fe816f5ee78a80e0d958f0fd2 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 31 Mar 2025 10:05:27 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> --- src/components/FeedCard.tsx | 8 ++++++-- src/screens/Search/SearchResults.tsx | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/FeedCard.tsx b/src/components/FeedCard.tsx index b94881dd50..88e323a176 100644 --- a/src/components/FeedCard.tsx +++ b/src/components/FeedCard.tsx @@ -299,12 +299,16 @@ function SaveButtonInner({ {savedFeedConfig ? ( <> {isPending && } - Unpin Feed + + Unpin Feed + ) : ( <> - Pin Feed + + Pin Feed + )} diff --git a/src/screens/Search/SearchResults.tsx b/src/screens/Search/SearchResults.tsx index ed9679817b..bb51d2deb2 100644 --- a/src/screens/Search/SearchResults.tsx +++ b/src/screens/Search/SearchResults.tsx @@ -128,7 +128,7 @@ function EmptyState({message, error}: {message: string; error?: string}) { /> - Error: {error} + Error: {error} )}