amanbairagi30 / merged-n-share

A platform where user can come fetch their merged PRs from the selected repo and showcase and share their OS contribution as POW to anyone around the world
https://mergedandshare.in/
19 stars 1 forks source link

Make the Y axis numbers strict to integer only #5

Closed amanbairagi30 closed 1 week ago

amanbairagi30 commented 1 week ago

At Dashboard , there is a profile views chart where we are showing the user profile views of their public profile page

But on the chart , there are some non - integers like decimals that can also be seen , that doesn't make sense as the user can be interger only

Image for reference IMG_20241019_114922.jpg

amanbairagi30 commented 1 week ago

Hi @harsimran-d

Would you love to start from here ?

harsimran-d commented 1 week ago

on it

harsimran-d commented 1 week ago

i have added the fix to the same Linting and formatting PR #7

This fix was simple just setting the flag allowDecimals={false} on the <YAxis> component

amanbairagi30 commented 1 week ago

Okay . Thanks , will review and merge it soon