Skip to content

Commit

Permalink
fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
rbennettcw authored and ilijabojanovic committed Nov 4, 2024
1 parent a20dfb0 commit 068b186
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const ReactionButton = ({
const user = useUserStore();

const reactionWeightsSum =
BigInt(thread?.reactionWeightsSum) > 0
BigInt(thread?.reactionWeightsSum || 0) > 0
? thread?.reactionWeightsSum
: thread?.reactionCount?.toString() || '0';

Expand Down

0 comments on commit 068b186

Please sign in to comment.