Open ShreeluSantosh opened 1 month ago
Issue
In the user's stats page, the link icon besides Total Issue Contributions leads to the repo author's Issues page (https://github.com/issues?utf8=✓&q=is%3Aissue+author%3Asingodiyashubham87) instead of the supposed URL (https://github.com/issues?utf8=✓&q=is%3Aissue+author%3_[inputusername]_)
The issue is because the current URL has the author's username hardcoded in the /src/components/ContributionSummary.jsx file
Screenshots The URL redirecting to the author's Issues page
The relevant code showing the author's username hardcoded into the URL:
Solution Correct the code above to replace the hardcoded username with userDetails.username variable
Issue
In the user's stats page, the link icon besides Total Issue Contributions leads to the repo author's Issues page (https://github.com/issues?utf8=✓&q=is%3Aissue+author%3Asingodiyashubham87) instead of the supposed URL (https://github.com/issues?utf8=✓&q=is%3Aissue+author%3_[inputusername]_)
The issue is because the current URL has the author's username hardcoded in the /src/components/ContributionSummary.jsx file
Screenshots The URL redirecting to the author's Issues page![image](https://github.com/singodiyashubham87/GitWrap/assets/94289402/dc84e271-b552-4063-be9c-9b7d7c85195f)
The relevant code showing the author's username hardcoded into the URL:![image](https://github.com/singodiyashubham87/GitWrap/assets/94289402/8e87f4bf-ce9e-48d9-a8bd-107c17c575c9)
Solution Correct the code above to replace the hardcoded username with userDetails.username variable