From c277c195f575414ff5c975dc84246fbfa6b85bd3 Mon Sep 17 00:00:00 2001 From: araujobarret Date: Fri, 26 Apr 2024 08:37:10 +0200 Subject: [PATCH] feat: remove news thumbnail --- .../Scenes/Articles/News/ArticlesCards.tsx | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/src/app/Scenes/Articles/News/ArticlesCards.tsx b/src/app/Scenes/Articles/News/ArticlesCards.tsx index 43e28774a4a..2c6483a44e0 100644 --- a/src/app/Scenes/Articles/News/ArticlesCards.tsx +++ b/src/app/Scenes/Articles/News/ArticlesCards.tsx @@ -1,7 +1,6 @@ import { ActionType, ContextModule, OwnerType, TappedNewsSection } from "@artsy/cohesion" -import { Flex, Image, Separator, Text, Touchable, useSpace } from "@artsy/palette-mobile" +import { Flex, Separator, Text, Touchable, useSpace } from "@artsy/palette-mobile" import { ArticlesCards_viewer$key } from "__generated__/ArticlesCards_viewer.graphql" -import { Stack } from "app/Components/Stack" import { navigate } from "app/system/navigation/navigate" import { graphql, useFragment } from "react-relay" import { useTracking } from "react-tracking" @@ -25,17 +24,16 @@ export const ArticlesCards: React.FC = ({ viewer }) => { } return ( - + News {date} {data.articles.map((article, index) => ( - + handleOnPress(article.href ?? "")}> - - - + + {article.title} @@ -44,14 +42,12 @@ export const ArticlesCards: React.FC = ({ viewer }) => { ))} { - navigate("/news") - }} + onPress={() => navigate("/news")} style={{ flexDirection: "row", justifyContent: "flex-end" }} > More in News - + ) } @@ -61,9 +57,6 @@ const ArticlesNewsFragment = graphql` internalID title href - thumbnailImage { - url - } } } `