HyeonJun Jeon

[Fix] 1 week is 7 days

...@@ -30,7 +30,7 @@ const Row = () => { ...@@ -30,7 +30,7 @@ const Row = () => {
30 const ndate = new Date(state.date); 30 const ndate = new Date(state.date);
31 toSunday(ndate); 31 toSunday(ndate);
32 32
33 - for (let i = 0; i < 6; i++) { 33 + for (let i = 0; i < 7; i++) {
34 items.push(<GridItem key={i} targetDate={new Date(ndate)} />); 34 items.push(<GridItem key={i} targetDate={new Date(ndate)} />);
35 moveDate(ndate, "day", 1); 35 moveDate(ndate, "day", 1);
36 } 36 }
......