fix: fixed avg contribution calc + NaN state display on Manager#2331
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@ArslanYM is attempting to deploy a commit to the Grants Stack Team on Vercel. A member of the Team first needs to authorize it. |
|
🥷 Code experts: vacekj, boudra vacekj, boudra have most 👩💻 activity in the files. See details
Activity based on git-commit:
Knowledge based on git-blame: To learn more about /:\ gitStream - Visit our Docs |
|
This PR is 47.368421052631575% new code. |
|
Hey @ArslanYM, there is some diff noise in the patch, i.e. changes in formatting only (line 53 and line 156-157). It's no big deal in a change this small, but on a bigger one, it would obscure the real changes and put the reviewer at risk of missing something important. This is probably due to the fact that our project doesn't have a Could you try copying |
Sure thing. On it. |
The solution you asked to try doesn't seem to work. |
Could you give it another try, place If that also doesn't work, we'll merge the PR as-is. |
Tried that as well. Doesn't seem to work. |
I'll be careful about this next time. Apologies. |
Sorry, I wasn't clear in my explanation, this is none of your fault, rather a bug in our project setup, as it should already include a prettierrc already and ideally autoformat every commit through git hooks (in fact, we have an in-progress PR for this at #2314). We're currently sorting some build issues and we'll merge this and your other PRs after that. Thanks again for contributing! |
Co-authored-by: Atris <vacekj@outlook.com> Co-authored-by: Massimiliano Mirra <max@gitcoin.co>
Description
The Avg. Contribution text will display
N/Ainsted ofNaNwhenround && round.uniqueContributors is not > 0otherwise the same functionality as before.Refers/Fixes
This PR fixes #1541
Testing
Tested this on my local server.