From cab56466a2d6420e8cf7eda789b56eadf613a9c9 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Mon, 4 Dec 2023 11:19:24 -0500 Subject: [PATCH] fix: datetime use keys for stable identity --- core/src/components/datetime/datetime.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/src/components/datetime/datetime.tsx b/core/src/components/datetime/datetime.tsx index 05b4774359..599becbec4 100644 --- a/core/src/components/datetime/datetime.tsx +++ b/core/src/components/datetime/datetime.tsx @@ -1649,7 +1649,7 @@ export class Datetime implements ComponentInterface { }} > {items.map((item: PickerColumnItem) => ( - {item.text} + {item.text} ))} ); @@ -1769,7 +1769,7 @@ export class Datetime implements ComponentInterface { }} > {days.map((day: PickerColumnItem) => ( - {day.text} + {day.text} ))} ); @@ -1817,7 +1817,7 @@ export class Datetime implements ComponentInterface { }} > {months.map((month: PickerColumnItem) => ( - {month.text} + {month.text} ))} ); @@ -1864,7 +1864,7 @@ export class Datetime implements ComponentInterface { }} > {years.map((year: PickerColumnItem) => ( - {year.text} + {year.text} ))} ); @@ -1930,7 +1930,7 @@ export class Datetime implements ComponentInterface { }} > {hoursData.map((hour: PickerColumnItem) => ( - {hour.text} + {hour.text} ))} ); @@ -1962,7 +1962,7 @@ export class Datetime implements ComponentInterface { }} > {minutesData.map((minute: PickerColumnItem) => ( - {minute.text} + {minute.text} ))} ); @@ -2001,7 +2001,7 @@ export class Datetime implements ComponentInterface { }} > {dayPeriodData.map((dayPeriod: PickerColumnItem) => ( - {dayPeriod.text} + {dayPeriod.text} ))} );