File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
77 < title > GitHub Error Solve - Opensource Projects</ title >
8+ < link rel ="shortcut icon " href ="public/assets/logo.png " type ="image/x-icon ">
89 < link rel ="stylesheet " href ="./dist/output.css " />
910 < link rel ="preconnect " href ="https://fonts.googleapis.com " />
1011 < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin />
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import Layout from '../../components/Layout/Layout';
44import './css/index.css' ;
55
66function Contribute ( ) {
7+ const userURL = "https://api.github.com/users/" ;
78 const url = "https://api.github.com/repos/devvsakib/github-error-solve/contributors"
89 const [ data , setData ] = useState ( [ ] ) ;
910 useEffect ( ( ) => {
Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ const useWindowSize = () => {
1717
1818 window . addEventListener ( 'resize' , handleResize ) ;
1919
20- const cleanUp = ( ) => {
21- console . log ( 'runs if a useEffect dep changes' )
20+ const cleanUp = ( ) => {
2221 window . removeEventListener ( 'resize' , handleResize )
2322 } ;
2423 return cleanUp ;
You can’t perform that action at this time.
0 commit comments