change backbutton UserEditTimeReport and UserNewTimeReport
This commit is contained in:
		
							parent
							
								
									6789cc97ce
								
							
						
					
					
						commit
						a26499bde9
					
				
					 2 changed files with 5 additions and 15 deletions
				
			
		|  | @ -1,6 +1,7 @@ | ||||||
| import BasicWindow from "../../Components/BasicWindow"; | import BasicWindow from "../../Components/BasicWindow"; | ||||||
| import Button from "../../Components/Button"; | import Button from "../../Components/Button"; | ||||||
| import NewTimeReport from "../../Components/TimeReport"; | import NewTimeReport from "../../Components/TimeReport"; | ||||||
|  | import BackButton from "../../Components/BackButton"; | ||||||
| 
 | 
 | ||||||
| function UserEditTimeReportPage(): JSX.Element { | function UserEditTimeReportPage(): JSX.Element { | ||||||
|   const content = ( |   const content = ( | ||||||
|  | @ -18,12 +19,7 @@ function UserEditTimeReportPage(): JSX.Element { | ||||||
|           return; |           return; | ||||||
|         }} |         }} | ||||||
|       /> |       /> | ||||||
|       <Button |       <BackButton /> | ||||||
|         text="Back" |  | ||||||
|         onClick={(): void => { |  | ||||||
|           return; |  | ||||||
|         }} |  | ||||||
|       /> |  | ||||||
|     </> |     </> | ||||||
|   ); |   ); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,7 +1,8 @@ | ||||||
| import BasicWindow from "../../Components/BasicWindow"; | import BasicWindow from "../../Components/BasicWindow"; | ||||||
| import Button from "../../Components/Button"; | import Button from "../../Components/Button"; | ||||||
| import NewTimeReport from "../../Components/TimeReport"; | import NewTimeReport from "../../Components/TimeReport"; | ||||||
| import { Link } from "react-router-dom"; | //import { Link } from "react-router-dom";
 | ||||||
|  | import BackButton from "../../Components/BackButton"; | ||||||
| 
 | 
 | ||||||
| function UserNewTimeReportPage(): JSX.Element { | function UserNewTimeReportPage(): JSX.Element { | ||||||
|   const content = ( |   const content = ( | ||||||
|  | @ -19,14 +20,7 @@ function UserNewTimeReportPage(): JSX.Element { | ||||||
|           return; |           return; | ||||||
|         }} |         }} | ||||||
|       /> |       /> | ||||||
|       <Link to="/project"> |       <BackButton /> | ||||||
|         <Button |  | ||||||
|           text="Back" |  | ||||||
|           onClick={(): void => { |  | ||||||
|             return; |  | ||||||
|           }} |  | ||||||
|         /> |  | ||||||
|       </Link> |  | ||||||
|     </> |     </> | ||||||
|   ); |   ); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 pavel Hamawand
						pavel Hamawand