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 BasicWindow from "../../Components/BasicWindow"; | ||||||
| import Button from "../../Components/Button"; | import Button from "../../Components/Button"; | ||||||
| 
 | 
 | ||||||
|  | @ -11,12 +12,22 @@ function UserViewTimeReportsPage(): JSX.Element { | ||||||
| 
 | 
 | ||||||
|   const buttons = ( |   const buttons = ( | ||||||
|     <> |     <> | ||||||
|  |       <Link to="/edit-time-report"> | ||||||
|         <Button |         <Button | ||||||
|         text="Back" |           text="Edit" | ||||||
|         onClick={(): void => { |           onClick={function (): void { | ||||||
|           return; |             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