From 5ec6323c337b0b8b6712956798f9577f4e163e75 Mon Sep 17 00:00:00 2001 From: Ryan Bennett Date: Fri, 6 Dec 2024 10:51:03 -0800 Subject: [PATCH] fix rendering of upvote weight in drawer --- packages/commonwealth/client/scripts/models/Thread.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/commonwealth/client/scripts/models/Thread.ts b/packages/commonwealth/client/scripts/models/Thread.ts index 4e42528c0c4..6ef12a1ad62 100644 --- a/packages/commonwealth/client/scripts/models/Thread.ts +++ b/packages/commonwealth/client/scripts/models/Thread.ts @@ -95,7 +95,7 @@ function processAssociatedReactions( type: tempReactionType[i], address: tempAddressesReacted[i], updated_at: tempReactionTimestamps[i], - voting_weight: tempReactionWeights[i] || 0, + calculated_voting_weight: tempReactionWeights[i] || 0, reactedProfileName: emptyStringToNull(reactedProfileName?.[i]), reactedProfileAvatarUrl: emptyStringToNull( reactedProfileAvatarUrl?.[i],