Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Jul 11, 2024
1 parent 93a7cbf commit 070e528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/modals/MemeOnReviewModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function MemeOnReviewModal({
enabled: props.isOpen,
}
)
const remaining = MIN_MEME_FOR_REVIEW - (count ?? 0)
const remaining = MIN_MEME_FOR_REVIEW - (count?.unapproved ?? 0)

const description =
remaining > 0
Expand Down

0 comments on commit 070e528

Please sign in to comment.