We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac7be60 commit a94ce0cCopy full SHA for a94ce0c
src/services/getPotData.ts
@@ -167,7 +167,7 @@ export const getPayout = ({
167
});
168
updateState(sortedPayouts);
169
} else if (allDonations?.length === 0 && flaggedAddresses?.length === 0) {
170
- updateState({});
+ updateState([]);
171
} else if (allDonations && flaggedAddresses) {
172
calculatePayouts(allDonations, potDetail.matching_pool_balance, flaggedAddresses).then((calculatedPayouts) => {
173
const currentPayouts =
0 commit comments