keyErrorを追加で修正

This commit is contained in:
harukin-expo-dev-env
2025-09-13 16:35:01 +00:00
parent a650a21669
commit 64de920dc6
2 changed files with 3 additions and 2 deletions

View File

@@ -435,11 +435,12 @@ const CurrentPositionBox = ({ train, lineColor, trainDataWithThrough }) => {
alignItems: "center",
overflow: "hidden",
}}
key={d+"CurrentPositionBox"}
>
{station.split("").map((i, index) => {
return (
<Text
key={index}
key={i+index}
style={{
fontSize: 6,
color: "white",

View File

@@ -265,7 +265,7 @@ export const ExGridView: FC<{
if (num % 5 === 0) {
return (
<Text
key={num}
key={num + "ExGridViewTimeLabel"}
style={{
flex: 1,
textAlign: "left",