Skip to content

Commit

Permalink
🩹 governance: minor bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
JuampiRombola committed Sep 28, 2023
1 parent 980b15e commit bab1a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/governance/Delegation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const Delegation = () => {

const delegatedToYou = useMemo(() => {
if (votingPower === undefined || yourVotes === undefined) return undefined;
return delegate === zeroAddress && votingPower - yourVotes > 0 ? votingPower - yourVotes : votingPower;
return delegate === zeroAddress && votingPower - yourVotes >= 0 ? votingPower - yourVotes : votingPower;
}, [delegate, votingPower, yourVotes]);

if (isLoadingDelegate) {
Expand Down

1 comment on commit bab1a6b

@vercel
Copy link

@vercel vercel bot commented on bab1a6b Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

app – ./

exactly.app
app.exact.ly
app-git-main.exactly.app
exactly-development.vercel.app
app.exactly.app

Please sign in to comment.