diff --git a/vinvoor/src/leaderboard/LeaderboardTableBody.tsx b/vinvoor/src/leaderboard/LeaderboardTableBody.tsx index 997817c..e471ef0 100644 --- a/vinvoor/src/leaderboard/LeaderboardTableBody.tsx +++ b/vinvoor/src/leaderboard/LeaderboardTableBody.tsx @@ -82,16 +82,9 @@ function getPosition(position: number) { } } -<<<<<<< HEAD -function getScanned(scanned: boolean) { - if (scanned) -======= -const getScanned = (checkedIn: boolean) => { +function getScanned(checkedIn: boolean) { if (checkedIn) ->>>>>>> 6b63abc (vinvoor: small refactor) return ; - - return <>; } function getCell(row: LeaderboardItem, headCell: TableHeadCell) { @@ -120,7 +113,8 @@ export function LeaderboardTableBody() { const theme = useTheme(); const { data: user } = useUser(); - console.log(rows); + if (!rows) + return; return (