|
|
@@ -47,7 +47,7 @@ const NoChargingOngoingPageComponent = () => {
|
|
|
}, []) // Add any missing dependencies here if needed
|
|
|
);
|
|
|
|
|
|
- const StationRow = ({ item, index }: { item: any, index: number }) => {
|
|
|
+ const StationRow = ({ item }: { item: any }) => {
|
|
|
// const imageSource = stationImages[stationID] || require('../../assets/dummyStationPicture.png');
|
|
|
console.log('image', item.image, item.stationName);
|
|
|
let imgObj = null
|
|
|
@@ -75,7 +75,7 @@ const NoChargingOngoingPageComponent = () => {
|
|
|
}}
|
|
|
>
|
|
|
<View className="flex flex-1 flex-row w-full ">
|
|
|
- <Image style={styles.image} source={imgObj} key={index} />
|
|
|
+ <Image style={styles.image} source={imgObj} />
|
|
|
<View className="flex flex-col gap-2 mt-5 mr-2">
|
|
|
<Text
|
|
|
style={{
|