Skip to content

Commit

Permalink
add likes count to admin
Browse files Browse the repository at this point in the history
  • Loading branch information
mdirolf committed May 6, 2024
1 parent 3f5eb91 commit 0ca43b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/pages/admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ const PuzzleListItem = (props: PuzzleResult) => {
</li>
))}
</ul>
{props.likes.length > 0 ? <div>Likes: {props.likes.length}</div> : ''}
<div className="marginBottom1em">
<button
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
Expand Down

0 comments on commit 0ca43b3

Please sign in to comment.