From 81b810496b1e2efcc9fe64670059fce2726d39fa Mon Sep 17 00:00:00 2001 From: xmflsct Date: Thu, 12 Jan 2023 21:12:51 +0100 Subject: [PATCH] No need to show initial toot in history Nothing changed in there --- src/screens/Tabs/Shared/History.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/screens/Tabs/Shared/History.tsx b/src/screens/Tabs/Shared/History.tsx index 13c80fb1..72d51762 100644 --- a/src/screens/Tabs/Shared/History.tsx +++ b/src/screens/Tabs/Shared/History.tsx @@ -161,13 +161,15 @@ const TabSharedHistory: React.FC ( - - )} + renderItem={({ item, index }) => + index === dataReversed.length - 1 ? null : ( + + ) + } ItemSeparatorComponent={ComponentSeparator} /> )