Skip to content

Commit

Permalink
only showing the difference
Browse files Browse the repository at this point in the history
  • Loading branch information
omranjamal committed Sep 8, 2024
1 parent d513607 commit e7904cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/jonogon-web-next/src/app/_components/PetitionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default function PetitionCard(props: {
<span className={'text-black font-light'}>
আরো
</span>{' '}
{props.upvoteTarget}
{(props.upvoteTarget ?? 0) - props.upvotes}
<span className={'text-black font-light'}>
-টা Vote দরকার
</span>{' '}
Expand Down
2 changes: 1 addition & 1 deletion apps/jonogon-web-next/src/app/petitions/[id]/_page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export default function Petition() {
<div>
<span className={'text-black'}>আরো</span>{' '}
<span className={'text-red-500'}>
{upvoteTarget}
{upvoteTarget - upvoteCount}
</span>
<span className={'text-black'}>
-টা Vote দরকার
Expand Down

0 comments on commit e7904cc

Please sign in to comment.