Skip to content

Commit

Permalink
feat: finally fix grid JSX.Element generation
Browse files Browse the repository at this point in the history
  • Loading branch information
DereC4 authored and doprz committed Mar 6, 2024
1 parent b691bf3 commit e49fc29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/components/common/CalendarGrid/CalendarGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const grid = [];
for (let i = 0; i < 13; i++) {
const row = [];
row.push(hoursOfDay[i]);
const row = Array.from({ length: 5 }, (_, j) => <CalendarCell key={j} />);
row.push(Array.from({ length: 5 }, (_, j) => <CalendarCell key={j} />));
grid.push(row);
}

Expand Down

0 comments on commit e49fc29

Please sign in to comment.