|
|
@ -67,10 +67,10 @@ export function TodayWeather({ todayData }) { |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tbody> |
|
|
|
{groups.map((i) => { |
|
|
|
{groups.map((i, index) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<tr> |
|
|
|
<tr key={index}> |
|
|
|
<td>{i.fcstTime.substring(0, 2)}시</td> |
|
|
|
<td >{i.fcstTime.substring(0, 2)}시</td> |
|
|
|
{i.category[4].fcstValue == "0" ? |
|
|
|
{i.category[4].fcstValue == "0" ? |
|
|
|
<td> |
|
|
|
<td> |
|
|
|
{i.category[3].fcstValue == "1" ? <Sun /> : <Cloud />} |
|
|
|
{i.category[3].fcstValue == "1" ? <Sun /> : <Cloud />} |
|
|
|