Fix button UserNewTimeReportPage
This commit is contained in:
		
							parent
							
								
									cda2b72d08
								
							
						
					
					
						commit
						a30a6a4988
					
				
					 1 changed files with 2 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,6 @@
 | 
			
		|||
import BackButton from "../../Components/BackButton";
 | 
			
		||||
import BasicWindow from "../../Components/BasicWindow";
 | 
			
		||||
import Button from "../../Components/Button";
 | 
			
		||||
import NewWeeklyReport from "../../Components/NewWeeklyReport";
 | 
			
		||||
import { Link } from "react-router-dom";
 | 
			
		||||
 | 
			
		||||
function UserNewTimeReportPage(): JSX.Element {
 | 
			
		||||
  const content = (
 | 
			
		||||
| 
						 | 
				
			
			@ -13,15 +12,7 @@ function UserNewTimeReportPage(): JSX.Element {
 | 
			
		|||
 | 
			
		||||
  const buttons = (
 | 
			
		||||
    <>
 | 
			
		||||
      <Link to="/project">
 | 
			
		||||
        <Button
 | 
			
		||||
          text="Back"
 | 
			
		||||
          onClick={(): void => {
 | 
			
		||||
            return;
 | 
			
		||||
          }}
 | 
			
		||||
          type="button"
 | 
			
		||||
        />
 | 
			
		||||
      </Link>
 | 
			
		||||
      <BackButton />
 | 
			
		||||
    </>
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue