Skip to content

Commit

Permalink
Merge pull request #791 from hackclub/fix-negative-votes
Browse files Browse the repository at this point in the history
Fix negative votes
  • Loading branch information
polytroper authored Nov 16, 2024
2 parents 6112bf4 + 1d7f58d commit 498d5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/ship-pill-cluster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function ShipPillCluster({

{ship.shipStatus === 'shipped' &&
(ship.voteRequirementMet ? (
ship.doubloonPayout ? (
ship.doubloonPayout != null ? (
<Pill
msg={`${Math.floor(ship.doubloonPayout)} Doubloons`}
color="green"
Expand Down

0 comments on commit 498d5e7

Please sign in to comment.