diff --git a/vinvoor/src/leaderboard/LeaderboardTableBody.tsx b/vinvoor/src/leaderboard/LeaderboardTableBody.tsx index 065aea4..997817c 100644 --- a/vinvoor/src/leaderboard/LeaderboardTableBody.tsx +++ b/vinvoor/src/leaderboard/LeaderboardTableBody.tsx @@ -82,8 +82,13 @@ function getPosition(position: number) { } } +<<<<<<< HEAD function getScanned(scanned: boolean) { if (scanned) +======= +const getScanned = (checkedIn: boolean) => { + if (checkedIn) +>>>>>>> 6b63abc (vinvoor: small refactor) return ; return <>; @@ -95,7 +100,7 @@ function getCell(row: LeaderboardItem, headCell: TableHeadCell) return getPositionChange(row[headCell.id]); case "position": return getPosition(row[headCell.id]); - case "scanned": + case "checkedIn": return getScanned(row[headCell.id]); default: return (