change back button UserProjectPage
This commit is contained in:
		
							parent
							
								
									a26499bde9
								
							
						
					
					
						commit
						8430d88a07
					
				
					 1 changed files with 2 additions and 9 deletions
				
			
		|  | @ -1,6 +1,6 @@ | ||||||
| import { Link } from "react-router-dom"; | import { Link } from "react-router-dom"; | ||||||
| import BasicWindow from "../../Components/BasicWindow"; | import BasicWindow from "../../Components/BasicWindow"; | ||||||
| import Button from "../../Components/Button"; | import BackButton from "../../Components/BackButton"; | ||||||
| 
 | 
 | ||||||
| function UserProjectPage(): JSX.Element { | function UserProjectPage(): JSX.Element { | ||||||
|   const content = ( |   const content = ( | ||||||
|  | @ -23,14 +23,7 @@ function UserProjectPage(): JSX.Element { | ||||||
| 
 | 
 | ||||||
|   const buttons = ( |   const buttons = ( | ||||||
|     <> |     <> | ||||||
|       <Link to="/your-projects"> |       <BackButton /> | ||||||
|         <Button |  | ||||||
|           text="Back" |  | ||||||
|           onClick={(): void => { |  | ||||||
|             return; |  | ||||||
|           }} |  | ||||||
|         /> |  | ||||||
|       </Link> |  | ||||||
|     </> |     </> | ||||||
|   ); |   ); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 pavel Hamawand
						pavel Hamawand