Fixed project submission form redirect #20
Conversation
Pull Request Test Coverage Report for Build 1514395049
💛 - Coveralls |
| import TextField from "@mui/material/TextField"; | ||
| import Button from '@mui/material/Button'; | ||
| import Service from "../Service"; | ||
| import FilledInput from '@mui/material/FilledInput'; |
There was a problem hiding this comment.
Codacy has a fix for the issue: Strings must use doublequote.
| import FilledInput from '@mui/material/FilledInput'; | |
| import FilledInput from "@mui/material/FilledInput"; |
| import Button from '@mui/material/Button'; | ||
| import Service from "../Service"; | ||
| import FilledInput from '@mui/material/FilledInput'; | ||
| import InputAdornment from '@mui/material/InputAdornment'; |
There was a problem hiding this comment.
Codacy has a fix for the issue: Strings must use doublequote.
| import InputAdornment from '@mui/material/InputAdornment'; | |
| import InputAdornment from "@mui/material/InputAdornment"; |
| import Service from "../Service"; | ||
| import FilledInput from '@mui/material/FilledInput'; | ||
| import InputAdornment from '@mui/material/InputAdornment'; | ||
| import FormControl from '@mui/material/FormControl'; |
There was a problem hiding this comment.
Codacy has a fix for the issue: Strings must use doublequote.
| import FormControl from '@mui/material/FormControl'; | |
| import FormControl from "@mui/material/FormControl"; |
| fullWidth | ||
| id="filled-basic" | ||
| variant="filled" | ||
| style={{ color:'#218888'}} |
There was a problem hiding this comment.
Codacy has a fix for the issue: Strings must use doublequote.
| style={{ color:'#218888'}} | |
| style={{ color:"#218888"}} |
| import { ReactSession } from "react-client-session"; | ||
| import styled from "styled-components"; | ||
| import TextField from "@mui/material/TextField"; | ||
| import Button from '@mui/material/Button'; |
There was a problem hiding this comment.
Codacy has a fix for the issue: Strings must use doublequote.
| import Button from '@mui/material/Button'; | |
| import Button from "@mui/material/Button"; |
|
|
||
| <button data-testid="submit_button" onClick={handleSubmit}>Submit</button> | ||
| <br /><br /> | ||
| <Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute()}} > |
There was a problem hiding this comment.
Codacy has a fix for the issue: Missing semicolon.
| <Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute()}} > | |
| <Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute();}} > |
|
|
||
| <button data-testid="submit_button" onClick={handleSubmit}>Submit</button> | ||
| <br /><br /> | ||
| <Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute()}} > |
There was a problem hiding this comment.
Codacy has a fix for the issue: Missing space before =>.
| <Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute()}} > | |
| <Button variant="contained" size="large" data-testid="submit_button" onClick={() =>{handleSubmit();handleRoute()}} > |
|
|
||
| const history=useHistory(); | ||
|
|
||
| const handleRoute = () =>{ |
There was a problem hiding this comment.
Codacy has a fix for the issue: Missing space after =>.
| const handleRoute = () =>{ | |
| const handleRoute = () => { |
No description provided.