Skip to content

Commit

Permalink
vinvoor: leaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie committed Jan 17, 2025
1 parent 0f5d6cc commit c66e7bb
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions vinvoor/src/leaderboard/LeaderboardTableBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 <Chip label="Checked In" variant="outlined" color="success" />;

return <></>;
}

function getCell(row: LeaderboardItem, headCell: TableHeadCell<LeaderboardItem>) {
Expand Down Expand Up @@ -120,7 +113,8 @@ export function LeaderboardTableBody() {
const theme = useTheme();
const { data: user } = useUser();

console.log(rows);
if (!rows)
return;

return (
<TableBody>
Expand Down

0 comments on commit c66e7bb

Please sign in to comment.