diff --git a/packages/commonwealth/client/scripts/views/pages/discussions/ThreadCard/ThreadOptions/ReactionButton/ReactionButton.tsx b/packages/commonwealth/client/scripts/views/pages/discussions/ThreadCard/ThreadOptions/ReactionButton/ReactionButton.tsx index 2d7e65d6bd2..bc944f3da94 100644 --- a/packages/commonwealth/client/scripts/views/pages/discussions/ThreadCard/ThreadOptions/ReactionButton/ReactionButton.tsx +++ b/packages/commonwealth/client/scripts/views/pages/discussions/ThreadCard/ThreadOptions/ReactionButton/ReactionButton.tsx @@ -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';