Skip to content

Commit

Permalink
fix(calendar-grid): change key used in week days mapping (#2042)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasaarcoverde authored Nov 7, 2024
2 parents 5568a1f + af78a7d commit 1ff2f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/shoreline/src/components/calendar/calendar-grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export function CalendarGrid(props: CalendarGridProps) {
<table data-sl-calendar-grid {...gridProps}>
<thead data-sl-calendar-grid-header {...headerProps}>
<tr>
{weekDays.map((day) => (
<th key={day}>{day}</th>
{weekDays.map((day, index) => (
<th key={`${day}=${index}`}>{day}</th>
))}
</tr>
</thead>
Expand Down

0 comments on commit 1ff2f7f

Please sign in to comment.