lint bro happ + test for getUserProject
This commit is contained in:
		
							parent
							
								
									4392b68397
								
							
						
					
					
						commit
						8eb23bf7f9
					
				
					 6 changed files with 22 additions and 13 deletions
				
			
		|  | @ -1,4 +1,4 @@ | |||
| import React, { useState, createContext, useEffect } from "react"; | ||||
| import { useState, createContext, useEffect } from "react"; | ||||
| import { Project } from "../Types/goTypes"; | ||||
| import { api } from "../API/API"; | ||||
| import { Link } from "react-router-dom"; | ||||
|  | @ -23,7 +23,7 @@ function UserProjectPage(): JSX.Element { | |||
|   }; | ||||
|   // Call getProjects when the component mounts
 | ||||
|   useEffect(() => { | ||||
|     getProjects(); | ||||
|     void getProjects(); | ||||
|   }, []); | ||||
| 
 | ||||
|   const handleProjectClick = (projectName: string): void => { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 al8763be
						al8763be