From 036d18748e5a83bb9033e3a6a65d1bb68a327c0a Mon Sep 17 00:00:00 2001 From: Idan Gozlan Date: Wed, 26 Nov 2025 17:17:13 -0800 Subject: [PATCH] Fixed `key` error for TimelineList https://github.com/wix/react-native-calendars/issues/2666 --- src/timeline-list/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/timeline-list/index.tsx b/src/timeline-list/index.tsx index e7fd84174..0c34851f7 100644 --- a/src/timeline-list/index.tsx +++ b/src/timeline-list/index.tsx @@ -123,7 +123,6 @@ const TimelineList = (props: TimelineListProps) => { const numberOfDaysToDrop = (7 - numberOfDays); const _timelineProps = { ...timelineProps, - key: item, date: dropRight(weekDates, numberOfDaysToDrop), events: flatten(dropRight(weekEvents, numberOfDaysToDrop)), scrollToNow: _isToday && isInitialPage && scrollToNow, @@ -142,7 +141,7 @@ const TimelineList = (props: TimelineListProps) => { return ( <> - + {/* NOTE: Keeping this for easy debugging */} {/* {item}*/}