Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Go to 'GithubProfile.jsx'
look for useEffect which is running in an infinite loop
Expected behavior
It should be run in controlled way
Solution
create a variable query and assign the get query to it and then pass it in getData function as an argument and also pass it as useffect dependency list
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should be run in controlled way
Solution create a variable query and assign the get query to it and then pass it in getData function as an argument and also pass it as useffect dependency list
i.e: