keyのバグを修正

This commit is contained in:
harukin-expo-dev-env 2024-12-06 06:39:26 +00:00
parent f6b2cc54ed
commit 998fd66163

View File

@ -362,10 +362,10 @@ const JRSTraInfoBox = () => {
/>
</View>
) : delayData ? (
delayData.map((d) => {
delayData.map((d,index,array) => {
let data = d.split(" ");
return (
<View style={{ flexDirection: "row" }} key={data[1] + "key"}>
<View style={{ flexDirection: "row" }} key={data[1] + "key"+index}>
<Text style={{ flex: 15, fontSize: 18 }}>
{data[0].replace("\n", "")}
</Text>