diff --git a/src/components/ReligiousTimes/index.js b/src/components/ReligiousTimes/index.js index 05c5678..f23ebfc 100644 --- a/src/components/ReligiousTimes/index.js +++ b/src/components/ReligiousTimes/index.js @@ -1,25 +1,24 @@ import React from 'react' const time = { - morning: "صبح", - sunrise: "طلوع", - noon: "ظهر", - sunset: "غروب", - maghrib: "مغرب", - midnight: "نیمه شب", - + morningTime: "صبح", + sunriseTime: "طلوع", + noonTime: "ظهر", + sunsetTime: "غروب", + maghribTime: "مغرب", + midnightTime: "نیمه شب", } const ReligiousTimes = ({hours}) => { return ( -
- {Object.keys(hours).map((hour,index) => ( -
- +
+ {Object.keys(hours).map((hour, index) => ( +
+ {time[hour]} - - {hours[hour]} + + {hours[hour]}
))}