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 Button from "../../Components/Button"; | ||||
| import NewTimeReport from "../../Components/TimeReport"; | ||||
| import BackButton from "../../Components/BackButton"; | ||||
| 
 | ||||
| function UserEditTimeReportPage(): JSX.Element { | ||||
|   const content = ( | ||||
|  | @ -18,12 +19,7 @@ function UserEditTimeReportPage(): JSX.Element { | |||
|           return; | ||||
|         }} | ||||
|       /> | ||||
|       <Button | ||||
|         text="Back" | ||||
|         onClick={(): void => { | ||||
|           return; | ||||
|         }} | ||||
|       /> | ||||
|       <BackButton /> | ||||
|     </> | ||||
|   ); | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,7 +1,8 @@ | |||
| import BasicWindow from "../../Components/BasicWindow"; | ||||
| import Button from "../../Components/Button"; | ||||
| 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 { | ||||
|   const content = ( | ||||
|  | @ -19,14 +20,7 @@ function UserNewTimeReportPage(): JSX.Element { | |||
|           return; | ||||
|         }} | ||||
|       /> | ||||
|       <Link to="/project"> | ||||
|         <Button | ||||
|           text="Back" | ||||
|           onClick={(): void => { | ||||
|             return; | ||||
|           }} | ||||
|         /> | ||||
|       </Link> | ||||
|       <BackButton /> | ||||
|     </> | ||||
|   ); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 pavel Hamawand
						pavel Hamawand