diff --git a/apps/jonogon-web-next/src/app/_components/PetitionCard.tsx b/apps/jonogon-web-next/src/app/_components/PetitionCard.tsx index ccd52cb6..1af5b239 100644 --- a/apps/jonogon-web-next/src/app/_components/PetitionCard.tsx +++ b/apps/jonogon-web-next/src/app/_components/PetitionCard.tsx @@ -111,7 +111,7 @@ export default function PetitionCard(props: { আরো {' '} - {props.upvoteTarget} + {(props.upvoteTarget ?? 0) - props.upvotes} -টা Vote দরকার {' '} diff --git a/apps/jonogon-web-next/src/app/petitions/[id]/_page.tsx b/apps/jonogon-web-next/src/app/petitions/[id]/_page.tsx index 6caffcdf..34fcb847 100644 --- a/apps/jonogon-web-next/src/app/petitions/[id]/_page.tsx +++ b/apps/jonogon-web-next/src/app/petitions/[id]/_page.tsx @@ -339,7 +339,7 @@ export default function Petition() {
আরো{' '} - {upvoteTarget} + {upvoteTarget - upvoteCount} -টা Vote দরকার