Skip to content

Commit

Permalink
fix: MultiCarnet key
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrevik committed Oct 21, 2021
1 parent 378b7d9 commit 69493e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/Ticketing/Ticket/Carnet/CarnetFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const CarnetFooter: React.FC<Props> = ({
{carnetsLeftCount - 1 > 0 &&
Array(carnetsLeftCount - 1)
.fill(CARNET_DIVIDER)
.map((count) => <MultiCarnet count={count} />)}
.map((count, idx) => <MultiCarnet key={idx} count={count} />)}
{Array(CARNET_DIVIDER)
.fill(true)
.map((_, idx) => idx < restUsed)
Expand Down

0 comments on commit 69493e4

Please sign in to comment.