add edit button to viewTimeReport
This commit is contained in:
		
							parent
							
								
									901bcd39c5
								
							
						
					
					
						commit
						dc902855f4
					
				
					 1 changed files with 17 additions and 6 deletions
				
			
		|  | @ -1,3 +1,4 @@ | |||
| import { Link } from "react-router-dom"; | ||||
| import BasicWindow from "../../Components/BasicWindow"; | ||||
| import Button from "../../Components/Button"; | ||||
| 
 | ||||
|  | @ -11,12 +12,22 @@ function UserViewTimeReportsPage(): JSX.Element { | |||
| 
 | ||||
|   const buttons = ( | ||||
|     <> | ||||
|       <Button | ||||
|         text="Back" | ||||
|         onClick={(): void => { | ||||
|           return; | ||||
|         }} | ||||
|       /> | ||||
|       <Link to="/edit-time-report"> | ||||
|         <Button | ||||
|           text="Edit" | ||||
|           onClick={function (): void { | ||||
|             throw new Error("Function not implemented."); | ||||
|           }} | ||||
|         /> | ||||
|       </Link> | ||||
|       <Link to="/user-project-page"> | ||||
|         <Button | ||||
|           text="Back" | ||||
|           onClick={function (): void { | ||||
|             throw new Error("Function not implemented."); | ||||
|           }} | ||||
|         /> | ||||
|       </Link> | ||||
|     </> | ||||
|   ); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 pavel Hamawand
						pavel Hamawand