Skip to content

Commit

Permalink
데이터 형태 변경에 따른 map 변경(#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Db0111 committed Aug 25, 2024
1 parent f637556 commit cf457ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Home = () => {
</Button>
</div>
{isError && <span>날씨를 조회하지 못함</span>}
{data?.data.map((v, i) => (
{data?.data.forecasts.map((v, i) => (
<div key={i}>
<span>
날짜: {v.fcstDate}, 시간: {v.fcstTime} 온도: {v.tmp} 강수확률:
Expand Down

0 comments on commit cf457ca

Please sign in to comment.