Skip to content

Commit

Permalink
Merge pull request #135 from PotLock/staging
Browse files Browse the repository at this point in the history
staging => main
  • Loading branch information
M-Rb3 authored May 24, 2024
2 parents 916c047 + a94ce0c commit 98d2d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/getPotData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export const getPayout = ({
});
updateState(sortedPayouts);
} else if (allDonations?.length === 0 && flaggedAddresses?.length === 0) {
updateState({});
updateState([]);
} else if (allDonations && flaggedAddresses) {
calculatePayouts(allDonations, potDetail.matching_pool_balance, flaggedAddresses).then((calculatedPayouts) => {
const currentPayouts =
Expand Down

0 comments on commit 98d2d89

Please sign in to comment.