From ec37d1a16bdc5cf9ed4359e5183f46fb9dd8beee Mon Sep 17 00:00:00 2001 From: Wesley Finck Date: Mon, 27 Oct 2025 13:51:33 -0700 Subject: [PATCH] don't pass collections to UrlCard component since we dont include then in api response --- .../features/cards/containers/cardsContainer/CardsContainer.tsx | 1 - .../features/home/containers/homeContainer/HomeContainer.tsx | 1 - .../profile/containers/profileContainer/ProfileContainer.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/src/webapp/features/cards/containers/cardsContainer/CardsContainer.tsx b/src/webapp/features/cards/containers/cardsContainer/CardsContainer.tsx index d5e49b89..c93c2cd7 100644 --- a/src/webapp/features/cards/containers/cardsContainer/CardsContainer.tsx +++ b/src/webapp/features/cards/containers/cardsContainer/CardsContainer.tsx @@ -76,7 +76,6 @@ export default function CardsContainer(props: Props) { url={card.url} cardContent={card.cardContent} note={card.note} - collections={card.collections} authorHandle={props.handle} urlLibraryCount={card.urlLibraryCount} urlIsInLibrary={card.urlInLibrary} diff --git a/src/webapp/features/home/containers/homeContainer/HomeContainer.tsx b/src/webapp/features/home/containers/homeContainer/HomeContainer.tsx index 3ee62e2f..daa8c0d2 100644 --- a/src/webapp/features/home/containers/homeContainer/HomeContainer.tsx +++ b/src/webapp/features/home/containers/homeContainer/HomeContainer.tsx @@ -120,7 +120,6 @@ export default function HomeContainer() { url={card.url} cardContent={card.cardContent} note={card.note} - collections={card.collections} urlLibraryCount={card.urlLibraryCount} urlIsInLibrary={card.urlInLibrary} /> diff --git a/src/webapp/features/profile/containers/profileContainer/ProfileContainer.tsx b/src/webapp/features/profile/containers/profileContainer/ProfileContainer.tsx index b62a9ad0..9d979db2 100644 --- a/src/webapp/features/profile/containers/profileContainer/ProfileContainer.tsx +++ b/src/webapp/features/profile/containers/profileContainer/ProfileContainer.tsx @@ -76,7 +76,6 @@ export default function ProfileContainer(props: Props) { cardAuthor={card.author} cardContent={card.cardContent} note={card.note} - collections={card.collections} authorHandle={props.handle} urlLibraryCount={card.urlLibraryCount} urlIsInLibrary={card.urlInLibrary} -- 2.51.2