Skip to content

Commit 498d5e7

Browse files
authored
Merge pull request #791 from hackclub/fix-negative-votes
Fix negative votes
2 parents 6112bf4 + 1d7f58d commit 498d5e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/ship-pill-cluster.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function ShipPillCluster({
2222

2323
{ship.shipStatus === 'shipped' &&
2424
(ship.voteRequirementMet ? (
25-
ship.doubloonPayout ? (
25+
ship.doubloonPayout != null ? (
2626
<Pill
2727
msg={`${Math.floor(ship.doubloonPayout)} Doubloons`}
2828
color="green"

0 commit comments

Comments
 (0)