Skip to content

Commit

Permalink
Remove brackets from mapping fn
Browse files Browse the repository at this point in the history
  • Loading branch information
fadwamahmoud committed Oct 31, 2023
1 parent 0e74f14 commit 89ce6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/AttendanceSheet/AttendanceSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const AttendanceSheet: React.FC<AttendanceSheetProps> = ({
// Type is a necessary property per row basis, but is not a cell in itself.
// Therefore, it doesn't have a label and we can filter it out by absence of label.
.filter(Boolean)
.map(([label]) => (
.map((label) => (
<th className="border border-gray-200 print:border-black">
{label}
</th>
Expand Down

0 comments on commit 89ce6a8

Please sign in to comment.